Skip to content

Commit aa578a7

Browse files
committed
Use Python 3.11 as latest
1 parent 9fdd170 commit aa578a7

File tree

4 files changed

+15
-31
lines changed

4 files changed

+15
-31
lines changed

.github/workflows/codeql-analysis.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Python ${{ matrix.python-version }}
3131
uses: actions/setup-python@v4
3232
with:
33-
python-version: '3.10'
33+
python-version: '3.11'
3434

3535
- name: Cache pip
3636
uses: actions/cache@v3
@@ -39,11 +39,7 @@ jobs:
3939
key: ${{ runner.os }}-python-${{ matrix.python-version }}-codeql-${{ hashFiles('requirements*.txt') }}
4040
restore-keys: |
4141
${{ runner.os }}-python-${{ matrix.python-version }}-codeql-${{ hashFiles('requirements*.txt') }}
42-
${{ runner.os }}-python-${{ matrix.python-version }}-tests-${{ hashFiles('requirements*.txt') }}
43-
${{ runner.os }}-python-${{ matrix.python-version }}-release-${{ hashFiles('requirements*.txt') }}
4442
${{ runner.os }}-python-${{ matrix.python-version }}-codeql-
45-
${{ runner.os }}-python-${{ matrix.python-version }}-tests-
46-
${{ runner.os }}-python-${{ matrix.python-version }}-release-
4743
${{ runner.os }}-python
4844
${{ runner.os }}-
4945

.github/workflows/dev-release.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,19 @@ jobs:
5353
with:
5454
fetch-depth: 0
5555

56-
- name: Set up Python 3.10
56+
- name: Set up Python 3.11
5757
uses: actions/setup-python@v4
5858
with:
59-
python-version: '3.10'
59+
python-version: '3.11'
6060

6161
- name: Cache pip
6262
uses: actions/cache@v3
6363
with:
6464
path: ~/.cache/pip
65-
key: ${{ runner.os }}-python-3.10-release-${{ hashFiles('requirements*.txt') }}
65+
key: ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
6666
restore-keys: |
67-
${{ runner.os }}-python-3.10-release-${{ hashFiles('requirements*.txt') }}
68-
${{ runner.os }}-python-3.10-tests-${{ hashFiles('requirements*.txt') }}
69-
${{ runner.os }}-python-3.10-codeql-${{ hashFiles('requirements*.txt') }}
70-
${{ runner.os }}-python-3.10-release-
71-
${{ runner.os }}-python-3.10-tests-
72-
${{ runner.os }}-python-3.10-codeql-
67+
${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
68+
${{ runner.os }}-python-3.11-release-
7369
${{ runner.os }}-python
7470
${{ runner.os }}-
7571

.github/workflows/release.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,19 @@ jobs:
5151
with:
5252
fetch-depth: 0
5353

54-
- name: Set up Python 3.10
54+
- name: Set up Python 3.11
5555
uses: actions/setup-python@v4
5656
with:
57-
python-version: '3.10'
57+
python-version: '3.11'
5858

5959
- name: Cache pip
6060
uses: actions/cache@v3
6161
with:
6262
path: ~/.cache/pip
63-
key: ${{ runner.os }}-python-3.10-release-${{ hashFiles('requirements*.txt') }}
63+
key: ${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
6464
restore-keys: |
65-
${{ runner.os }}-python-3.10-release-${{ hashFiles('requirements*.txt') }}
66-
${{ runner.os }}-python-3.10-tests-${{ hashFiles('requirements*.txt') }}
67-
${{ runner.os }}-python-3.10-codeql-${{ hashFiles('requirements*.txt') }}
68-
${{ runner.os }}-python-3.10-release-
69-
${{ runner.os }}-python-3.10-tests-
70-
${{ runner.os }}-python-3.10-codeql-
65+
${{ runner.os }}-python-3.11-release-${{ hashFiles('requirements*.txt') }}
66+
${{ runner.os }}-python-3.11-release-
7167
${{ runner.os }}-python
7268
${{ runner.os }}-
7369

.github/workflows/test.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ['3.7', '3.11', pypy-3.7, pypy-3.9]
23+
python-version: ['3.7', pypy-3.7, pypy-3.9]
2424
os: [ubuntu-latest]
2525
# run only limited set of tests because it takes too long
2626
mark: [important]
2727
include:
2828
- os: macos-latest
2929
mark: important
30-
python-version: '3.10'
30+
python-version: '3.11'
3131
- os: windows-latest
3232
mark: important
33-
python-version: '3.10'
33+
python-version: '3.11'
3434
# run all the tests only on latest python version
3535
- os: ubuntu-latest
3636
mark: all
37-
python-version: '3.10'
37+
python-version: '3.11'
3838

3939
steps:
4040
- name: Checkout code
@@ -54,11 +54,7 @@ jobs:
5454
key: ${{ runner.os }}-python-${{ matrix.python-version }}-tests-${{ hashFiles('requirements*.txt') }}
5555
restore-keys: |
5656
${{ runner.os }}-python-${{ matrix.python-version }}-tests-${{ hashFiles('requirements*.txt') }}
57-
${{ runner.os }}-python-${{ matrix.python-version }}-codeql-${{ hashFiles('requirements*.txt') }}
58-
${{ runner.os }}-python-${{ matrix.python-version }}-release-${{ hashFiles('requirements*.txt') }}
5957
${{ runner.os }}-python-${{ matrix.python-version }}-tests-
60-
${{ runner.os }}-python-${{ matrix.python-version }}-codeql-
61-
${{ runner.os }}-python-${{ matrix.python-version }}-release-
6258
${{ runner.os }}-python
6359
${{ runner.os }}-
6460

0 commit comments

Comments
 (0)