Pre-submission checks
What's the problem this feature will solve?
Following up one issue pypa/pip#13607
It seems to me that pip-audit doesn’t consider the Python version it runs on when reporting a vulnerability.
For example, we run pip-audit in a CI workflow on Python 3.13 which also matches our deployment environment. However, GHSA-4xh5-x5gv-qwph (CVE CVE-2025-8869) does not affect Python 3.13 (apparently) and yet it’s being reported.
Describe the solution you'd like
Would be nice that vulnerabilities that don’t apply to the actively running Python version could be ignored. Assuming the Python version itself is reported by the metadata.
Additional context
No response
Pre-submission checks
What's the problem this feature will solve?
Following up one issue pypa/pip#13607
It seems to me that
pip-auditdoesn’t consider the Python version it runs on when reporting a vulnerability.For example, we run
pip-auditin a CI workflow on Python 3.13 which also matches our deployment environment. However, GHSA-4xh5-x5gv-qwph (CVE CVE-2025-8869) does not affect Python 3.13 (apparently) and yet it’s being reported.Describe the solution you'd like
Would be nice that vulnerabilities that don’t apply to the actively running Python version could be ignored. Assuming the Python version itself is reported by the metadata.
Additional context
No response