-
Notifications
You must be signed in to change notification settings - Fork 70
uv audit #770
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
base: main
Are you sure you want to change the base?
uv audit #770
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,25 +66,18 @@ commands = | |
| mypy | ||
|
|
||
| [testenv:audit,audit-py{310,311,312,313}] | ||
| description = Run pip-audit | ||
| extras = dev # audit entire environment | ||
| setenv = | ||
| # Add pip-audit exceptions here, like: | ||
| # EXCLUDES=--ignore-vuln EXCEPTION_ID1 --ignore-vuln EXCEPTION_ID2 ... | ||
| description = Run uv audit | ||
| extras = dev # audit entire environment | ||
| commands = | ||
| python --version | ||
| pip-audit {env:EXCLUDES:} | ||
| uv audit | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the excludes functionality was handy int he past, do you really have to remove it?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does not exist yet but has been merged into uv main 4 days ago, so will be available in the next couple of days. Let's just wait until it's there 👍🏼 |
||
|
|
||
| # This is separated from the other audit block because in 3.14 only core deps are tested | ||
| [testenv:audit-py314] | ||
| description = Run pip-audit | ||
| deps = pip-audit | ||
| setenv = | ||
| # Add pip-audit exceptions here, like: | ||
| # EXCLUDES=--ignore-vuln EXCEPTION_ID1 --ignore-vuln EXCEPTION_ID2 ... | ||
| description = Run uv audit | ||
| commands = | ||
| python --version | ||
| pip-audit {env:EXCLUDES:} | ||
| uv audit | ||
|
|
||
| [testenv:docs-py310] | ||
| description = Build documentation, passing posargs to control what should be built | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say no because not user-facing, but I'll let @Scienfitz tip the scales
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont want to tip the scale because on the one hand I agree this is not userfacing and theres no strict requirement to mention it, on the other hand it doesnt really hurt