Skip to content

Commit 389e3d1

Browse files
authored
Update build Python versions to 3.12 (#2465)
* Update build Python versions * Undo update of Python version in publish.yml * Add comment about publish.yml Python version
1 parent 5be6b7f commit 389e3d1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/asv_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Python
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: '3.9'
26+
python-version: '3.12'
2727

2828
- name: Install asv
2929
run: pip install asv==0.6.4

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
steps:
88
- name: Checkout source
99
uses: actions/checkout@v4
10-
- name: Install Python 3.11
10+
- name: Install Python 3.12
1111
uses: actions/setup-python@v5
1212
with:
13-
python-version: '3.11'
13+
python-version: '3.12'
1414
- name: Install Flake8 5.0.4 linter
1515
run: pip install flake8==5.0.4 # use this version for --diff option
1616
- name: Setup Flake8 output matcher for PR annotations

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: 3.9
25+
# Python version should be the minimum supported version
26+
python-version: "3.9"
2627

2728
- name: Install build tools
2829
run: |

readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sphinx:
1111
build:
1212
os: ubuntu-lts-latest
1313
tools:
14-
python: "3.11"
14+
python: "3.12"
1515
jobs:
1616
# fetch the full history so that setuptools_scm can determine the
1717
# correct version string for long PRs with many commits

0 commit comments

Comments
 (0)