Skip to content

Commit e6cb496

Browse files
committed
Tests/CI: use Python 3.13 by default
Upgrade from Python 3.12 to 3.13 for running tox and for generic jobs like lint and doc.
1 parent 533bf32 commit e6cb496

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Python
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: "3.12"
34+
python-version: "3.13"
3535

3636
- name: Install build requirements
3737
run: |

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
steps:
2020
- name: Get code
2121
uses: actions/checkout@v4
22+
- name: Setup default Python
23+
# Change default Python version to something consistent
24+
# for installing/running tox
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.13"
2228
- name: Install tox-gh-matrix
2329
run: |
2430
python -m pip install 'tox<4' 'tox-gh-matrix<0.3'
@@ -52,7 +58,7 @@ jobs:
5258
# for installing/running tox
5359
uses: actions/setup-python@v5
5460
with:
55-
python-version: "3.12"
61+
python-version: "3.13"
5662
- name: Install tox
5763
run: |
5864
set -x

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ passenv =
8383
ANYMAIL_TEST_*
8484

8585
[testenv:lint]
86-
basepython = python3.12
86+
basepython = python3.13
8787
skip_install = true
8888
passenv =
8989
CONTINUOUS_INTEGRATION
@@ -104,7 +104,7 @@ commands =
104104
pre-commit run --all-files
105105

106106
[testenv:docs]
107-
basepython = python3.12
107+
basepython = python3.13
108108
passenv =
109109
CONTINUOUS_INTEGRATION
110110
GOOGLE_ANALYTICS_ID

0 commit comments

Comments
 (0)