fix(ci): replace Poetry runtime setup with uv#8830
Open
aviralgarg05 wants to merge 1 commit intoapache:mainfrom
Open
fix(ci): replace Poetry runtime setup with uv#8830aviralgarg05 wants to merge 1 commit intoapache:mainfrom
aviralgarg05 wants to merge 1 commit intoapache:mainfrom
Conversation
Collaborator
|
Sorry, I'm not familiar with Python package management or DevLake's Python plugins. I only opened the issue because I encountered a timeout problem at that time, and I don't have the capability to review this modification. @klesh @aviralgarg05 |
Contributor
|
@keon94 Would you like to take a look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the runtime dependency on Poetry from the Python build path and switches the backend, test, and container workflows to
uv.The change is intentionally narrow:
uv, create or reuse project-local virtual environments, and run Python or pytest commands consistently.venvdirectoriesuvinstead of Poetrydevlakeuser can create project-local virtual environments during image buildsThis addresses the CI and Docker breakage caused by the Poetry-based Python 3.9 setup, especially in cross-platform and emulated build paths.
Does this close any open issues?
Closes #8776
Screenshots
No UI changes.
Other Information
Validation completed against the updated flow:
make build-pythonpassed in the CI-stylemericodev/lake-builder:latestcontainermake unit-test-pythonpassed in the same containerdocker buildx build --platform linux/amd64 --target base ... backendpasseddocker build --target base ... backendpassed on the native platformRelevant test results:
Suggested labels:
pr-type/bug-fix