Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Pin setuptools to working version for Python versions older than 12 #776

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docker/Dockerfile.runner
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ apt-get install -y python3.11 python3.11-dev python3.11-distutils

# Get the latest pip version
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
python3.11 -m pip install --upgrade distlib setuptools pip
python3.11 -m pip install setuptools==70.3.0
python3.11 -m pip install --upgrade distlib pip
python3.11 -m pip install -r /workspace/requirements.txt

# Set default python
Expand Down Expand Up @@ -105,7 +106,8 @@ apt-get install -y python3.10 python3.10-dev python3.10-distutils

# Get the latest pip version
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
python3.10 -m pip install --upgrade distlib setuptools pip
python3.10 -m pip install setuptools==70.3.0
python3.10 -m pip install --upgrade distlib pip
python3.10 -m pip install -r /workspace/requirements.txt

# Set default python
Expand Down Expand Up @@ -142,7 +144,8 @@ apt-get install -y python3.9 python3.9-dev python3.9-distutils

# Get the latest pip version
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9
python3.9 -m pip install --upgrade distlib setuptools pip
python3.9 -m pip install setuptools==70.3.0
python3.9 -m pip install --upgrade distlib pip
python3.9 -m pip install -r /workspace/requirements.txt

# Set default python
Expand Down Expand Up @@ -179,7 +182,8 @@ apt-get install -y python3.8 python3.8-dev python3.8-distutils

# Get the latest pip version
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8
python3.8 -m pip install --upgrade distlib setuptools pip
python3.8 -m pip install setuptools==70.3.0
python3.8 -m pip install --upgrade distlib pip
python3.8 -m pip install -r /workspace/requirements.txt

# Set default python
Expand Down
Loading