Skip to content

Commit

Permalink
[python] - setuptools - GHSA-cx63-2mw6-8hw5 - v69.0.3 to v70.0.0 (#1219)
Browse files Browse the repository at this point in the history
* [python] - setuptools - GHSA-cx63-2mw6-8hw5 - v69.0.3 to v70.0.0

* Updating the python setuptools version to the latest one 75.6.0 as needed for PR #1219

---------

Co-authored-by: Kaniska244 <[email protected]>
  • Loading branch information
gauravsaini04 and Kaniska244 authored Dec 12, 2024
1 parent 326d2f2 commit 46b9295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/python/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# Temporary: Upgrade python packages due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897 and https://github.com/advisories/GHSA-2mqj-m65w-jghx
# They are installed by the base image (python) which does not have the patch.
RUN python3 -m pip install --upgrade \
setuptools==69.0.3 \
setuptools==75.6.0 \
gitpython==3.1.41

# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
Expand Down
2 changes: 1 addition & 1 deletion src/python/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ check "gitconfig-contains-name" sh -c "cat /etc/gitconfig | grep 'name = devcont
check "usr-local-etc-config-does-not-exist" test ! -f "/usr/local/etc/gitconfig"

setuptools_version=$(python -c "import setuptools; print(setuptools.__version__)")
check-version-ge "setuptools-requirement" "${setuptools_version}" "65.5.1"
check-version-ge "setuptools-requirement" "${setuptools_version}" "75.6.0"

# https://github.com/advisories/GHSA-2mqj-m65w-jghx
gitpython_version=$(python -c "import git; print(git.__version__)")
Expand Down

0 comments on commit 46b9295

Please sign in to comment.