Skip to content

Commit a7846a3

Browse files
committed
Use Python 3.10 in CI (#3090)
Python 3.9 will be out of support soon Update RTD to Ubuntu 22.04 since 20.04 is out of support
1 parent 799b9cb commit a7846a3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fetch-depth: 0
1515
- uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.9
17+
python-version: "3.10"
1818
cache: 'pip'
1919
- name: Install Python Dependencies
2020
run: |
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0
4242
- uses: actions/setup-python@v5
4343
with:
44-
python-version: 3.9
44+
python-version: "3.10"
4545
cache: 'pip'
4646
- name: Install Python Dependencies
4747
run: |
@@ -75,7 +75,7 @@ jobs:
7575
fetch-depth: 0
7676
- uses: actions/setup-python@v5
7777
with:
78-
python-version: 3.9
78+
python-version: "3.10"
7979
cache: 'pip'
8080
- name: Install Python Dependencies
8181
run: |
@@ -102,7 +102,7 @@ jobs:
102102
# uses: tj-actions/changed-files@v41
103103
# - uses: actions/setup-python@v5
104104
# with:
105-
# python-version: 3.9
105+
# python-version: "3.10"
106106
# - name: Install Dependencies
107107
# run: pip install -r source/requirements.txt
108108
# - name: Run linkcheck on .rst files
@@ -126,7 +126,7 @@ jobs:
126126
- uses: actions/checkout@v4
127127
- uses: actions/setup-python@v5
128128
with:
129-
python-version: 3.9
129+
python-version: "3.10"
130130
- name: Install Dependencies
131131
run: |
132132
pip install -r source/requirements.txt
@@ -140,7 +140,7 @@ jobs:
140140
- uses: actions/checkout@v4
141141
- uses: actions/setup-python@v5
142142
with:
143-
python-version: 3.9
143+
python-version: "3.10"
144144
- name: Install Dependencies
145145
run: |
146146
pip install -r source/requirements.txt
@@ -168,7 +168,7 @@ jobs:
168168
git fetch origin main --depth=1
169169
- uses: actions/setup-python@v5
170170
with:
171-
python-version: 3.9
171+
python-version: "3.10"
172172
- name: Install Dependencies
173173
run: |
174174
pip install -r source/requirements.txt
@@ -185,7 +185,7 @@ jobs:
185185
- uses: actions/checkout@v4
186186
- uses: actions/setup-python@v5
187187
with:
188-
python-version: 3.9
188+
python-version: "3.10"
189189
- name: Install Python Dependencies
190190
run: |
191191
pip install -r source/requirements.txt

readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sphinx:
66
fail_on_warning: true
77

88
build:
9-
os: ubuntu-20.04
9+
os: ubuntu-22.04
1010
tools:
11-
python: "3.9"
11+
python: "3.10"
1212
apt_packages:
1313
- librsvg2-bin
1414
jobs:

0 commit comments

Comments
 (0)