-
Notifications
You must be signed in to change notification settings - Fork 18.2k
build: introduce uv as Python package manager #16317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This PR is intended to demonstrate the possible impacts and necessary changes for introducing It does show the feasibility to use, test, lint and build the Dify api services in all CI tests. |
dec0b22 to
714eb95
Compare
1d0b651 to
789ccba
Compare
8720550 to
d932de5
Compare
|
@bowenliang123 Hello, I’ve almost finished the process of migrating the package manager from Poetry to uv, including updates to the scripts and pipelines. Since we’re overlapping in this effort, would you mind holding off on further changes for now? I’ll push my updates shortly, and we can collaborate on any remaining adjustments afterward. Thank you for your understanding! |
|
Sure. Feel free to force push your changes if you would. |
to uv's dependency list.
|
LGTM.
|
|
This looks great to me! Once all CI pipelines successfully pass, we’ll proceed with merging the PR. Thank you for your contribution! |
|
Cheers~ 🍻 A step forward to embrace the morden Python world. |
Co-authored-by: QuantumGhost <[email protected]>
Summary
uvas the dependency managment tool for Proposal: Package manager migration frompoetrytouv#16305poetrytouv0.6.x as the dependency manageruvpyproject.toml[tool.poetry.dependencies]section[dependencies]for main dependencies declarationproject.dependenciescannot be placed withproject.dynamicat the same time , so thedependencieshas to be removed fromproject.dynamicTip
Close issue syntax:
Fixes #<issue number>orResolves #<issue number>, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint gods