-
Notifications
You must be signed in to change notification settings - Fork 0
SDK-87: Migrate to uv for development environments & fix vulnerabilities
#208
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
benglewis
merged 31 commits into
main
from
sdk-87-allow-codex-to-run-pip-audit-and-fix-vulnerabilities
Feb 11, 2026
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d5d98d9
Allow `codex` to run `pip-audit`
benglewis f211aca
Install `pip-audit` as a development dependency
benglewis 2b352db
Switch to `dependency-groups` for development to match better modern …
benglewis b69a1a3
Migrate fully to `uv`
benglewis 84dfb86
Add `AGENTS.md`
benglewis eb0f3d4
Fix vulnerability scan GitHub Actions workflow scanning the `pyprojec…
benglewis ea09765
Fix vulnerabilities
benglewis 7192438
Update `AGENTS.md`
benglewis c37898e
Upgrade `uv` version in `pyproject.toml` to fix issues with agent usage
benglewis 7bc0a86
Merge branch 'main' into sdk-87-allow-codex-to-run-pip-audit-and-fix-…
benglewis d75f190
Fix bugs found by agent code reviewers
benglewis d6f9e18
Fix `pip-audit` rule
benglewis 7232248
Fix agent code review comments
benglewis fea3606
Skip local install in docs workflow
benglewis cd4b0ec
Fix Windows venv activation and uv setup
benglewis c92eb9a
Align cleanup workflow uv setup
benglewis ef7b6c6
Merge branch 'main' into sdk-87-allow-codex-to-run-pip-audit-and-fix-…
benglewis 433464f
Align `.envrc` with `pre-commit` and docs and other development recom…
benglewis 2ec8051
Fix `jaraco-context` vulnerability by upgrading
benglewis 6ee5ab2
Change vulnerability scan to run on the `uv` environment with `lowest…
benglewis 8b97a70
Fix release flow by re-running PyTest sanity and vulnerability scanni…
benglewis c984178
Drop irrelevant `matrix` from `vulnerability-scan.yml`
benglewis 46a487c
Ensure that `uv`'s `venv` is activated before scanning for vulnerabil…
benglewis 94b89a4
Align `uv venv` and activation order in `vulnerability-scan.yml`
benglewis 69a8430
Change `vulnerability-scan.yml` to install all `groups` and all `extr…
benglewis a8a5e9f
Fix `deploy-docker-image.yaml` disk space issues by changing GitHub A…
benglewis 0f16ab0
Fix Cursor's bugbot's comment about `vulnerability-scan.yml` specific…
benglewis c74d696
Update workflows to use setup-uv
benglewis d2d3668
Add deploy-only dependency group
benglewis 6abef50
Fix vulnerabilities
benglewis 062512a
Fix NumPy being compiled for macOS (which is silly)
benglewis 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY | ||
| version = 1 | ||
| name = "hirundo-python-sdk" | ||
|
|
||
| [setup] | ||
| script = "uv sync --group dev && source .venv/bin/activate" |
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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| prefix_rule( | ||
| pattern = ["UV_CACHE_DIR=/tmp/uv-cache", "uv", "run", "pip-audit"], | ||
| decision = "allow", | ||
| justification = "pip-audit is allowed to run", | ||
| match = [ | ||
| "'UV_CACHE_DIR=/tmp/uv-cache' uv run pip-audit", | ||
| ], | ||
| not_match = [ | ||
| "uv run abc", | ||
| "uv run pip-audit", | ||
| "uvx pip-audit", | ||
| ], | ||
| ) | ||
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 @@ | ||
| watch_file uv.lock | ||
| uv sync --group dev && source .venv/bin/activate | ||
| uv sync --all-groups && source .venv/bin/activate |
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
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
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.