Skip to content

Commit f8a0c6c

Browse files
Bump CI jobs to 3.12 (#9092)
* Bump CI jobs to 3.12 * Update .github/workflows/checks.yaml * Add py3.12 in tox.ini --------- Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 37cf208 commit f8a0c6c

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
env:
99
CACHE_VERSION: 1
1010
KEY_PREFIX: base-venv
11-
DEFAULT_PYTHON: "3.11"
11+
DEFAULT_PYTHON: "3.12"
1212

1313
permissions:
1414
contents: read

.github/workflows/primer-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
timeout-minutes: 5
3131
strategy:
3232
matrix:
33-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"]
33+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
3434
outputs:
3535
python-key: ${{ steps.generate-python-key.outputs.key }}
3636
steps:
@@ -72,7 +72,7 @@ jobs:
7272
needs: prepare-tests-linux
7373
strategy:
7474
matrix:
75-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"]
75+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
7676
steps:
7777
- name: Check out code from GitHub
7878
uses: actions/[email protected]

.github/workflows/primer_comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
# This needs to be the SAME as in the Main and PR job
1717
CACHE_VERSION: 4
1818
KEY_PREFIX: venv-primer
19-
DEFAULT_PYTHON: "3.11"
19+
DEFAULT_PYTHON: "3.12"
2020

2121
permissions:
2222
contents: read

.github/workflows/primer_run_main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
timeout-minutes: 45
3030
strategy:
3131
matrix:
32-
python-version: ["3.8", "3.11"]
32+
python-version: ["3.8", "3.12"]
3333
batches: [4]
3434
batchIdx: [0, 1, 2, 3]
3535
steps:

.github/workflows/primer_run_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 45
3939
strategy:
4040
matrix:
41-
python-version: ["3.8", "3.11"]
41+
python-version: ["3.8", "3.12"]
4242
batches: [4]
4343
batchIdx: [0, 1, 2, 3]
4444
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- published
77

88
env:
9-
DEFAULT_PYTHON: "3.11"
9+
DEFAULT_PYTHON: "3.12"
1010

1111
permissions:
1212
contents: read

.github/workflows/tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"]
34+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
3535
outputs:
3636
python-key: ${{ steps.generate-python-key.outputs.key }}
3737
steps:
@@ -89,11 +89,11 @@ jobs:
8989
steps:
9090
- name: Check out code from GitHub
9191
uses: actions/[email protected]
92-
- name: Set up Python 3.11
92+
- name: Set up Python 3.12
9393
id: python
9494
uses: actions/[email protected]
9595
with:
96-
python-version: "3.11"
96+
python-version: "3.12"
9797
check-latest: true
9898
- name: Restore Python virtual environment
9999
id: cache-venv
@@ -125,7 +125,7 @@ jobs:
125125
strategy:
126126
fail-fast: false
127127
matrix:
128-
python-version: ["3.11"]
128+
python-version: ["3.12"]
129129
steps:
130130
- name: Check out code from GitHub
131131
uses: actions/[email protected]
@@ -175,7 +175,7 @@ jobs:
175175
strategy:
176176
fail-fast: false
177177
matrix:
178-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"]
178+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
179179
steps:
180180
- name: Set temp directory
181181
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ python:
1313
build:
1414
os: ubuntu-20.04
1515
tools:
16-
python: "3.11"
16+
python: "3.12"
1717
jobs:
1818
pre_build:
1919
- towncrier build --yes --date TBA

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, py38, py39, py310, py311, pypy, benchmark
3+
envlist = formatting, py38, py39, py310, py311, py312, pypy, benchmark
44
skip_missing_interpreters = true
55
requires = pip >=21.3.1
66
isolated_build = true

0 commit comments

Comments
 (0)