Skip to content

Commit 9259c2c

Browse files
authored
Add Python 3.14 support (#198)
* Add Python 3.14 classifier to pyproject.toml * excluded Python 3.14 for Django 4.2
1 parent 2ba8eec commit 9259c2c

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [windows-latest, macos-latest, ubuntu-latest]
18-
python-version: ["3.10", "3.11", "3.12", "3.13"]
18+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1919
django-version: ["4.2", "5.0", "5.1", "5.2", "6.0b1"]
2020
exclude:
2121
- django-version: "6.0b1"
2222
python-version: "3.10"
2323
- django-version: "6.0b1"
2424
python-version: "3.11"
25+
- django-version: "4.2"
26+
python-version: "3.14"
2527
steps:
2628
- uses: actions/checkout@v4
2729
- name: Set up Python ${{ matrix.python-version }}
@@ -62,12 +64,14 @@ jobs:
6264
fail-fast: false
6365
matrix:
6466
django-version: ["4.2", "5.0", "5.1", "5.2"]
67+
exclude:
68+
- django-version: "4.2"
6569
steps:
6670
- uses: actions/checkout@v4
67-
- name: Set up Python 3.13
71+
- name: Set up Python 3.14
6872
uses: actions/setup-python@v5
6973
with:
70-
python-version: "3.13"
74+
python-version: "3.14"
7175
- uses: actions/cache@v4
7276
with:
7377
path: ~/.cache/pip
@@ -97,12 +101,14 @@ jobs:
97101
fail-fast: false
98102
matrix:
99103
django-version: ["4.2", "5.0", "5.1", "5.2"]
104+
exclude:
105+
- django-version: "4.2"
100106
steps:
101107
- uses: actions/checkout@v4
102-
- name: Set up Python 3.13
108+
- name: Set up Python 3.14
103109
uses: actions/setup-python@v5
104110
with:
105-
python-version: "3.13"
111+
python-version: "3.14"
106112
- uses: actions/cache@v4
107113
with:
108114
path: ~/.cache/pip
@@ -133,7 +139,7 @@ jobs:
133139
- name: Set up Python
134140
uses: actions/setup-python@v5
135141
with:
136-
python-version: "3.13"
142+
python-version: "3.14"
137143
- name: Install dependencies
138144
run: |
139145
python -m pip install --upgrade pip build

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
2425
"Programming Language :: Python :: Implementation :: CPython",
2526
"Environment :: Web Environment",
2627
"Framework :: Django",

0 commit comments

Comments
 (0)