-
Notifications
You must be signed in to change notification settings - Fork 1.2k
build: migrate CI and service images from Poetry to uv #2152
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
Merged
+12,542
−93
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7340a02
ci: use uv for test dependency installation + add timeout safety net
RonShakutai a4a9d91
ci: run tests via uv run inside the uv-managed venv
RonShakutai abdff65
ci: install uv via pip instead of the setup-uv action
RonShakutai 7d085b6
ci: add pip to the uv venv for spaCy model downloads
RonShakutai 04d3d6a
ci: pre-install tomli for the wheel build on Python < 3.11
RonShakutai 470db8a
ci: build service Docker images with uv to fix the E2E resolve hang
RonShakutai ed64f1b
fix: run gunicorn directly in container entrypoints (drop poetry run)
RonShakutai 2c95fd8
ci: keep uv's wheel cache on the /mnt ephemeral disk
RonShakutai 078eff5
docs: broaden CHANGELOG/CI comment to cover the Docker image changes
RonShakutai 157082d
build: adopt PEP 735 dependency groups and commit uv.lock files
RonShakutai 27907e2
ci: install from the committed uv.lock in CI and Docker builds
RonShakutai c00abf0
ci: allow pre-existing transformers advisories in dependency review
RonShakutai 448fa13
docs: require uv.lock review and commits alongside pyproject changes
RonShakutai 2897687
ci: reference UV_CACHE_DIR in cache path; align dev-docs to uv
RonShakutai 1bae43e
Potential fix for pull request finding
RonShakutai 078bdb4
ci: shorten workflow comments; move transformers allow-ghsas out
RonShakutai a70aa3e
ci: drop stale pip cache; trim CHANGELOG entry
RonShakutai 4368d4b
small commit to trigger the pipeline again.
RonShakutai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| # Package dependencies and version changes should be approved by a member of 'presidio-administrators' team | ||
| **/pyproject.toml @data-privacy-stack/presidio-administrators | ||
| **/uv.lock @data-privacy-stack/presidio-administrators |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| #!/bin/sh | ||
| exec poetry run gunicorn -w "$WORKERS" -b "0.0.0.0:$PORT" "app:create_app()" | ||
| exec gunicorn -w "$WORKERS" -b "0.0.0.0:$PORT" "app:create_app()" | ||
|
RonShakutai marked this conversation as resolved.
|
||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.