pypa / pip-audit

Audits Python environments, requirements files and dependency trees for known security vulnerabilities, and can automatically fix them
https://pypi.org/project/pip-audit/
Apache License 2.0
960 stars 63 forks source link

`pip` integration: figure out feature gating in `pip-audit` #336

Open woodruffw opened 2 years ago

woodruffw commented 2 years ago

Breakout from https://github.com/trailofbits/pip-audit/issues/335: we need to design an ergonomic "feature gate" scheme for pip-audit, to handle the following deployments:

Some ideas:

di commented 2 years ago

In https://github.com/di/pip-api/pull/138/ I made a pip_api.VENDORED flag, I would imagine we would do something similar here and could gate functionality on that. I'm not sure it needs to be specific to who has vendored us.