Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setuptools and packaging version
The setuptools update addresses a vulnerability alert by dependabot: A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0. The packaging update is necessary for the setuptools update (or we could freeze it to version 70.x). But if version > 71 is used, we have to update the packaging version to 22 or higher. Otherwise the build process fails with TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' More information in pypa/setuptools#4483 STONEBLD-2636 Signed-off-by: mkosiarc <mkosiarc@redhat.com>
- Loading branch information