Skip to content

Commit cebe4c7

Browse files
committed
Remove running pip-audit from CI.
pip has had a recent CVE, and as a library (and not an app) it is difficult to run pip-audit in a way that has value but is segregated from pip-audit's own deps such that we don't encounter this kind of false positive. Downstream applications should themselves run pip-audit as it is more suited for being run by applications rather than libraries.
1 parent a12b4bf commit cebe4c7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

noxfile.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,6 @@ def tests(session, installable):
9797
session.run("virtue", *session.posargs, PACKAGE, env=env)
9898

9999

100-
@session()
101-
@nox.parametrize("installable", INSTALLABLE)
102-
def audit(session, installable):
103-
"""
104-
Audit dependencies for vulnerabilities.
105-
"""
106-
session.install("pip-audit", installable)
107-
session.run(
108-
"python",
109-
"-m",
110-
"pip_audit",
111-
"--ignore-vuln",
112-
"GHSA-4xh5-x5gv-qwph", # pip vuln, not relevant, but we need to figure
113-
# out how to properly run pip-audit
114-
)
115-
116-
117100
@session()
118101
def license_check(session):
119102
"""

0 commit comments

Comments
 (0)