Skip to content

uv audit#770

Open
AdrianSosic wants to merge 1 commit intomainfrom
repo/uv-audit
Open

uv audit#770
AdrianSosic wants to merge 1 commit intomainfrom
repo/uv-audit

Conversation

@AdrianSosic
Copy link
Copy Markdown
Collaborator

Replace pip-audit with uv audit, which is faster and saves us one dependency.

@AdrianSosic AdrianSosic self-assigned this Mar 30, 2026
Copilot AI review requested due to automatic review settings March 30, 2026 07:47
@AdrianSosic AdrianSosic added the repo Requires changes to the project configuration label Mar 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project’s dependency vulnerability scanning from pip-audit to uv audit, aligning the audit step with the repository’s existing uv/tox-uv tooling and reducing dev dependency surface area.

Changes:

  • Removed pip-audit from dev dependencies and the lockfile, dropping its transitive dependency set.
  • Updated tox audit environments to run uv audit instead of pip-audit.
  • Updated CI workflows and contributor documentation to refer to uv audit.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
uv.lock Removes pip-audit and its transitive dependencies; updates uv to 0.11.2 in the locked set.
tox.ini Switches audit testenv commands from pip-audit to uv audit.
pyproject.toml Removes pip-audit from dev extra; bumps uv minimum version to >=0.11.2; updates audit-related comment.
CONTRIBUTING.md Replaces pip-audit reference with uv audit and links to uv docs.
.github/workflows/regular.yml Renames the audit step label to “Run uv audit” (tox env remains the driver).
.github/workflows/ci.yml Renames the audit step label to “Run uv audit” (tox env remains the driver).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@AVHopp AVHopp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, but want to understand what the full intent of this PR is.

@AVHopp
Copy link
Copy Markdown
Collaborator

AVHopp commented Mar 30, 2026

@AdrianSosic @Scienfitz does a tool replacement deserve a CHANGELOG entry? Imo it would

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AdrianSosic @Scienfitz does a tool replacement deserve a CHANGELOG entry? Imo it would

I'd say no because not user-facing, but I'll let @Scienfitz tip the scales

Copy link
Copy Markdown
Collaborator

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

commands =
python --version
pip-audit {env:EXCLUDES:}
uv audit
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The 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?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The 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 👍🏼

astral-sh/uv#18737

@Scienfitz Scienfitz added this to the 0.15.0 milestone Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repo Requires changes to the project configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants