Skip to content

Commit b534b09

Browse files
authored
Add Python 3.14 to CI workflow matrix
Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 * https://docs.python.org/3.14/whatsnew/3.14.html * https://code.djangoproject.com/ticket/35844 > Django 5.2 will be the first version to support Python 3.14
1 parent 2ff6207 commit b534b09

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1515
django-version: ['4.2', '5.0', '5.1', '5.2', 'main']
1616

1717
exclude:
@@ -73,6 +73,7 @@ jobs:
7373
pyproject.toml
7474
tox.ini
7575
requirements/*.txt
76+
allow-prereleases: true
7677

7778
- name: Install dependencies
7879
run: |
@@ -107,7 +108,7 @@ jobs:
107108
- name: Set up newest stable Python version
108109
uses: actions/setup-python@v6
109110
with:
110-
python-version: 3.13
111+
python-version: 3.x
111112
cache: 'pip'
112113
# Invalidate the cache when this file updates, as the dependencies' versions
113114
# are pinned in the step below
@@ -117,9 +118,9 @@ jobs:
117118
run: |
118119
python -m pip install --upgrade pip
119120
# Install this project in editable mode, so that its package metadata can be queried
120-
pip install -e .
121+
pip install --editable .
121122
# Install the latest minor version of Django we support
122-
pip install Django==5.1
123+
pip install Django==5.2
123124
124125
- name: Check translation files are updated
125126
run: python -m simple_history.tests.generated_file_checks.check_translations

0 commit comments

Comments
 (0)