-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow packaging specifiers in packages when auditing on PyPI
Packaging specifiers are implemented as described in https://packaging.python.org/en/latest/specifications/version-specifiers/, although I did not find a specific PEP for them. Everything is done using `packaging`'s own APIs, so there are no egregious hacks brought into the spec parsing logic. This allows to audit version-specific packages, which makes it easier to pin down regressions in ABI3 compatibility. Usage: `abi3audit cryptography==42.0.7 -v`. Currently lacks support for version ranges, but that is only a regex tweak away thanks to the terrific `SpecifierSet` API.
- Loading branch information
1 parent
b73d834
commit d697934
Showing
1 changed file
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters