aviralgarg05 opened a new pull request, #8830:
URL: https://github.com/apache/incubator-devlake/pull/8830

   ### 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:
   - added a small shared helper to bootstrap `uv`, create or reuse 
project-local virtual environments, and run Python or pytest commands 
consistently
   - updated the Azure DevOps and fake plugin build and run scripts to use that 
helper instead of Poetry
   - updated the backend Python test runner to use the same flow and to avoid 
collecting tests from `.venv` directories
   - updated the backend image and the lake-builder image to install `uv` 
instead of Poetry
   - fixed the backend image copy step so the non-root `devlake` user can 
create project-local virtual environments during image builds
   
   This 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-python` passed in the CI-style `mericodev/lake-builder:latest` 
container
   - `make unit-test-python` passed in the same container
   - `docker buildx build --platform linux/amd64 --target base ... backend` 
passed
   - `docker build --target base ... backend` passed on the native platform
   
   Relevant test results:
   - Azure DevOps Python tests: 8 passed, 1 skipped
   - PyDevLake Python tests: 10 passed
   
   Suggested labels:
   - `pr-type/bug-fix`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to