Skip to content

Commit 4594dba

Browse files
authored
Use Python 3.12 in CI (#2505)
* Use Python 3.12 in CI * Use pip instead of running setup.py to install tools
1 parent 94f70b5 commit 4594dba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.taskcluster.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tasks:
7070
else: generic-worker-ubuntu-24-04
7171

7272
taskboot_image: "mozilla/taskboot:0.4.1"
73-
python_image: "python:3.11"
73+
python_image: "python:3.12"
7474
in:
7575
$if: '(tasks_for == "github-push" && (head_branch == "master" || head_branch == "production" || head_branch == "testing")) || (tasks_for == "github-pull-request" && event["action"] in ["opened", "reopened", "synchronize"])'
7676
then:
@@ -114,7 +114,7 @@ tasks:
114114
- -lxce
115115
- "git clone --quiet ${repository} /src && cd /src && git checkout ${head_rev} -b checks &&
116116
/src/bot/ci/bootstrap.sh &&
117-
cd /src/tools && python3 setup.py install &&
117+
cd /src/tools && pip3 install --disable-pip-version-check --no-cache-dir --quiet . &&
118118
cd /src/bot && pip3 install --disable-pip-version-check --no-cache-dir --quiet . && pip3 install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt &&
119119
pytest -v"
120120
metadata:
@@ -184,7 +184,7 @@ tasks:
184184
- sh
185185
- -lxce
186186
- "git clone --quiet ${repository} /src && cd /src && git checkout ${head_rev} -b checks &&
187-
cd /src/tools && python setup.py install &&
187+
cd /src/tools && pip3 install --disable-pip-version-check --no-cache-dir --quiet . &&
188188
cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt &&
189189
pytest -v"
190190
metadata:

0 commit comments

Comments
 (0)