Skip to content

Commit

Permalink
fix: set packaging minimum version (#4367)
Browse files Browse the repository at this point in the history
Set packaging minimum version to 22.0 to avoid the following error with
setuptools 71.x:

TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'

Likelihood of encountering this error increased since commit
e4239bd which bumped minimum version of
setuptools from 65.5.1 to 70.0.0

More information:
 - pypa/setuptools#4483
 - pypa/setuptools#4501

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine authored Aug 20, 2024
1 parent 13a0a50 commit 978a5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lib4sbom>=0.7.2
lib4vex>=0.1.0
python-gnupg
packageurl-python
packaging
packaging>=22.0
plotly
pyyaml>=5.4
requests>=2.32.2
Expand Down

0 comments on commit 978a5bd

Please sign in to comment.