Skip to content

Commit cce55d4

Browse files
authored
Use older pip version to remain compatible with Python 3.7 (rust-lang#3279)
Fixes BuildBundle-Linux as an upstream change dropped support for Python 3.7. See also pypa/get-pip#214 for some discussion.
1 parent 51678e9 commit cce55d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
build-essential bash-completion curl lsb-release sudo g++ gcc flex \
109109
bison make patch git python3.7 python3.7-dev python3.7-distutils
110110
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
111-
curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py
111+
curl -s https://bootstrap.pypa.io/pip/3.7/get-pip.py -o get-pip.py
112112
python3 get-pip.py --force-reinstall
113113
rm get-pip.py
114114

scripts/ci/Dockerfile.bundle-test-ubuntu-18-04

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apt-get update && \
1818

1919
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
2020

21-
RUN curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
21+
RUN curl -s https://bootstrap.pypa.io/pip/3.7/get-pip.py -o get-pip.py && \
2222
python3 get-pip.py --force-reinstall && \
2323
rm get-pip.py
2424

0 commit comments

Comments
 (0)