-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Breakout from #335: we need to design an ergonomic "feature gate" scheme for pip-audit
, to handle the following deployments:
python -m pip install pip-audit
(and all third-party packages): support for SBOM generation, the OSV vulnerability service, etc.pip audit
: no support for-s osv
,--format=spdx-...
, etc.
Some ideas:
- If "default" extras were possible, we could define
osv
andspdx
extras thatpip install
would activate by default. Unfortunately, default extras are currently not possible. - We could probably get away with a single feature flag, something like
pip_audit.VENDORED_INTO_PIP
, which we then just use to remove a handful of CLI options and prevent importingpip_audit._format.cyclonedx
.
Metadata
Metadata
Assignees
Labels
No labels