Skip to content

Commit c1edf69

Browse files
authored
Auto merge of servo#28960 - servo:jdm-patch-30, r=jdm
Upgrade setuptools. Attempting to fix a new build error in CI.
2 parents 08bc2d5 + f47a53f commit c1edf69

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ jobs:
104104
- uses: actions/checkout@v2
105105
with:
106106
fetch-depth: 2
107+
# TODO: Remove this step when the compatibility issue between mozjs and
108+
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
109+
- name: Select Python 3.9
110+
run: |
111+
brew install python@3.9
112+
cd $(dirname $(which python3.9))
113+
rm -f python3 pip3
114+
ln -s python3.9 python3
115+
ln -s pip3.9 pip3
107116
- name: Bootstrap
108117
run: |
109118
python3 -m pip install --upgrade pip virtualenv

.github/workflows/nightly.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
- uses: actions/checkout@v2
4040
with:
4141
fetch-depth: 2
42+
# TODO: Remove this step when the compatibility issue between mozjs and
43+
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
44+
- name: Select Python 3.9
45+
run: |
46+
brew install python@3.9
47+
cd $(dirname $(which python3.9))
48+
rm -f python3 pip3
49+
ln -s python3.9 python3
50+
ln -s pip3.9 pip3
4251
- name: Bootstrap
4352
run: |
4453
python3 -m pip install --upgrade pip virtualenv

python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ distro == 1.4
66
mozdebug == 0.3
77
mozinfo == 1.2.1
88
mozlog == 7.1.0
9-
setuptools == 60.8.1
9+
setuptools == 65.3.0
1010
toml == 0.9.2
1111

1212
# For Python linting

0 commit comments

Comments
 (0)