Skip to content

Commit 7ff8f66

Browse files
committed
ci: update few workflows to use Python 3.12
The HTML doc build workflow and PR assigner recently started failing to install python packages, breaking all backports. Seems to work when using Python 3.12, this is already done in main in bacb99d. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 83e99be commit 7ff8f66

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/assigner.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
runs-on: ubuntu-22.04
2323

2424
steps:
25+
- name: Set up Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: 3.12
29+
2530
- name: Install Python dependencies
2631
run: |
2732
sudo pip3 install -U setuptools wheel pip

.github/workflows/doc-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ jobs:
7070
cancel-in-progress: true
7171

7272
steps:
73+
- name: Set up Python
74+
uses: actions/setup-python@v5
75+
with:
76+
python-version: 3.12
77+
7378
- name: install-pkgs
7479
run: |
7580
sudo apt-get update
@@ -202,6 +207,11 @@ jobs:
202207
- name: checkout
203208
uses: actions/checkout@v4
204209

210+
- name: Set up Python
211+
uses: actions/setup-python@v5
212+
with:
213+
python-version: 3.12
214+
205215
- name: install-pkgs
206216
run: |
207217
apt-get update

0 commit comments

Comments
 (0)