Skip to content

Commit 4815e61

Browse files
Use 3.11 for Github actions
Closes #5920 Take comment from hugovk into account
1 parent ca6648a commit 4815e61

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

.github/workflows/primer-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 5
2727
strategy:
2828
matrix:
29-
python-version: [3.8, 3.9, "3.10"]
29+
python-version: [3.8, 3.9, "3.10", "3.11-dev"]
3030
outputs:
3131
python-key: ${{ steps.generate-python-key.outputs.key }}
3232
steps:
@@ -68,7 +68,7 @@ jobs:
6868
needs: prepare-tests-linux
6969
strategy:
7070
matrix:
71-
python-version: [3.8, 3.9, "3.10"]
71+
python-version: [3.8, 3.9, "3.10", "3.11-dev"]
7272
steps:
7373
- name: Check out code from GitHub
7474
uses: actions/checkout@v3.0.2
@@ -103,7 +103,7 @@ jobs:
103103
needs: prepare-tests-linux
104104
strategy:
105105
matrix:
106-
python-version: [3.8, 3.9, "3.10"]
106+
python-version: [3.8, 3.9, "3.10", "3.11-dev"]
107107
steps:
108108
- name: Check out code from GitHub
109109
uses: actions/checkout@v3.0.2

.github/workflows/primer_comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: python
3838
uses: actions/setup-python@v4.2.0
3939
with:
40-
python-version: "3.10"
40+
python-version: "3.11-dev"
4141

4242
# Restore cached Python environment
4343
- name: Restore Python virtual environment

.github/workflows/primer_run_main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 60
2626
strategy:
2727
matrix:
28-
python-version: ["3.7", "3.10"]
28+
python-version: ["3.7", "3.11-dev"]
2929
steps:
3030
- name: Check out code from GitHub
3131
uses: actions/checkout@v3.0.2

.github/workflows/primer_run_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 120
3535
strategy:
3636
matrix:
37-
python-version: ["3.7", "3.10"]
37+
python-version: ["3.7", "3.11-dev"]
3838
steps:
3939
- name: Check out code from GitHub
4040
uses: actions/checkout@v3.0.2

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: [3.7, 3.8, 3.9, "3.10"]
23+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"]
2424
outputs:
2525
python-key: ${{ steps.generate-python-key.outputs.key }}
2626
steps:
@@ -173,7 +173,7 @@ jobs:
173173
strategy:
174174
fail-fast: false
175175
matrix:
176-
python-version: [3.7, 3.8, 3.9, "3.10"]
176+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11-dev"]
177177
steps:
178178
- name: Set temp directory
179179
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV

doc/whatsnew/fragments/5920.other

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Pylint now support python 3.11.
2+
3+
Closes #5920

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.0
3-
envlist = formatting, py37, py38, py39, py310, pypy, benchmark
3+
envlist = formatting, py37, py38, py39, py310, py311, pypy, benchmark
44
skip_missing_interpreters = true
55
requires = pip >=21.3.1
66
isolated_build = true

0 commit comments

Comments
 (0)