Skip to content

Commit 647e470

Browse files
committed
Bump minimum supported python version to 3.9
1 parent 807d481 commit 647e470

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

.github/workflows/deploy-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id-token: write
2626
strategy:
2727
matrix:
28-
python-version: [3.8]
28+
python-version: [3.9]
2929
steps:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-python@v5

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest]
29-
python-version: [3.8]
29+
python-version: [3.9]
3030
steps:
3131
- uses: actions/checkout@v4
3232
with:

.github/workflows/main.yml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
matrix:
3838
os: [ubuntu-latest]
39-
python-version: [3.8]
39+
python-version: [3.9]
4040
steps:
4141
- name: Print Concurrency Group
4242
env:
@@ -119,14 +119,14 @@ jobs:
119119
fail-fast: false
120120
matrix:
121121
os: [ubuntu-latest]
122-
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
122+
python-version: [3.9, '3.10', 3.11, 3.12]
123123
include:
124124
- os: macos-latest
125-
python-version: 3.8
125+
python-version: 3.9
126126
- os: macos-latest
127127
python-version: 3.11
128128
- os: windows-latest
129-
python-version: 3.8
129+
python-version: 3.9
130130
- os: windows-latest
131131
python-version: 3.11
132132
steps:
@@ -197,7 +197,7 @@ jobs:
197197
fi
198198
coverage3 combine
199199
mv .coverage ./ci-artifact-data/opt.dat
200-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8 }}
200+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 }}
201201
shell: bash
202202
- uses: actions/upload-artifact@v4
203203
with:
@@ -225,7 +225,7 @@ jobs:
225225
fail-fast: false
226226
matrix:
227227
os: [ubuntu-latest]
228-
python-version: [3.8, 3.11]
228+
python-version: [3.9, 3.11]
229229
steps:
230230
- uses: actions/checkout@v4
231231
with:
@@ -290,30 +290,26 @@ jobs:
290290
cd docs/_build/html
291291
mkdir artifacts
292292
tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
293-
if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
293+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
294294
shell: bash
295295
- name: Run upload stable tutorials
296296
uses: actions/upload-artifact@v4
297297
with:
298298
name: tutorials-stable${{ matrix.python-version }}
299299
path: docs/_build/html/artifacts/tutorials.tar.gz
300-
if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
300+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
301301
Deprecation_Messages_and_Coverage:
302302
if: github.repository_owner == 'qiskit-community'
303303
needs: [Checks, Optimization, Tutorials]
304304
runs-on: ubuntu-latest
305305
strategy:
306306
matrix:
307-
python-version: [3.8]
307+
python-version: [3.9]
308308
steps:
309309
- uses: actions/checkout@v4
310310
- uses: actions/setup-python@v5
311311
with:
312312
python-version: ${{ matrix.python-version }}
313-
- uses: actions/download-artifact@v4
314-
with:
315-
name: ubuntu-latest-3.8
316-
path: /tmp/o38
317313
- uses: actions/download-artifact@v4
318314
with:
319315
name: ubuntu-latest-3.9
@@ -332,16 +328,16 @@ jobs:
332328
path: /tmp/o312
333329
- uses: actions/download-artifact@v4
334330
with:
335-
name: macos-latest-3.8
336-
path: /tmp/m38
331+
name: macos-latest-3.9
332+
path: /tmp/m39
337333
- uses: actions/download-artifact@v4
338334
with:
339335
name: macos-latest-3.11
340336
path: /tmp/m311
341337
- uses: actions/download-artifact@v4
342338
with:
343-
name: windows-latest-3.8
344-
path: /tmp/w38
339+
name: windows-latest-3.9
340+
path: /tmp/w39
345341
- uses: actions/download-artifact@v4
346342
with:
347343
name: windows-latest-3.11
@@ -351,10 +347,10 @@ jobs:
351347
shell: bash
352348
- name: Combined Deprecation Messages
353349
run: |
354-
sort -f -u /tmp/o38/opt.dep /tmp/o39/opt.dep /tmp/o310/opt.dep /tmp/o311/opt.dep /tmp/o312/opt.dep /tmp/m38/opt.dep /tmp/m311/opt.dep /tmp/w38/opt.dep /tmp/w311/opt.dep || true
350+
sort -f -u /tmp/o39/opt.dep /tmp/o310/opt.dep /tmp/o311/opt.dep /tmp/o312/opt.dep /tmp/m39/opt.dep /tmp/m311/opt.dep /tmp/w39/opt.dep /tmp/w311/opt.dep || true
355351
shell: bash
356352
- name: Coverage combine
357-
run: coverage3 combine /tmp/o38/opt.dat
353+
run: coverage3 combine /tmp/o39/opt.dat
358354
shell: bash
359355
- name: Upload to Coveralls
360356
env:

0 commit comments

Comments
 (0)