Skip to content

Commit 3e23c16

Browse files
authored
Add Python 3.14 and 3.14 to the testing (#485)
https://www.python.org/downloads/release/python-3140/
1 parent 8795c8b commit 3e23c16

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
1919
os: [ubuntu-24.04]
2020
runs-on: ${{ matrix.os }}
2121
name: "${{ matrix.os }} Python: ${{ matrix.python-version }}"
@@ -45,17 +45,17 @@ jobs:
4545
run: |
4646
sudo apt-get update
4747
sudo apt-get install binutils libproj-dev gdal-bin libmemcached-dev libsqlite3-mod-spatialite
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v5
4949
with:
5050
fetch-depth: 0
5151
- name: Set up Python ${{ matrix.python-version }}
52-
uses: actions/setup-python@v5
52+
uses: actions/setup-python@v6
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Install dependencies
5656
run: |
57-
pip install -U "pip>=23.1.1"
58-
pip install -U "tox-gh-actions==3.3.0" coverage
57+
pip install --upgrade "pip>=23.1.1"
58+
pip install --upgrade "tox-gh-actions==3.3.0" coverage
5959
- name: Log versions
6060
run: |
6161
python --version
@@ -69,8 +69,8 @@ jobs:
6969
PGHOST: localhost
7070
PGPORT: 5432
7171
run: |
72-
psql -U postgres -c 'CREATE DATABASE postgis'
73-
psql -U postgres postgis -c 'CREATE EXTENSION IF NOT EXISTS postgis;'
72+
psql --user postgres -c 'CREATE DATABASE postgis'
73+
psql --user postgres postgis -c 'CREATE EXTENSION IF NOT EXISTS postgis;'
7474
mysql --protocol=TCP --user=root -e 'create database django_prometheus_1;'
7575
- name: Run test and linters via Tox
7676
run: tox

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## v2.5.0 - UNRELEASED
44

55
* Drop support for Django 5.0 (EOL)
6+
* Add support for Python 3.13, 3.14, and free threaded 3.14t.
67

78
## v2.4.1 - June 25th, 2025
89

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def get_version():
5959
"Programming Language :: Python :: 3.11",
6060
"Programming Language :: Python :: 3.12",
6161
"Programming Language :: Python :: 3.13",
62+
"Programming Language :: Python :: 3.14",
63+
"Programming Language :: Python :: 3.14t",
6264
"Framework :: Django :: 4.2",
6365
"Framework :: Django :: 5.1",
6466
"Framework :: Django :: 5.2",

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ min_version = 4.4
33
envlist =
44
{py39,py310,py311,py312}-django420-{end2end,unittests}
55
{py310,py311,py312,py313}-django{510,520}-{end2end,unittests}
6+
{py314,py314t}-django520-{end2end,unittests}
67
py39-lint
8+
skip_missing_interpreters = True
79

810
[gh-actions]
911
python =
@@ -12,6 +14,7 @@ python =
1214
3.11: py311
1315
3.12: py312
1416
3.13: py313
17+
3.14: py314,py314t
1518

1619
[testenv]
1720
deps =

0 commit comments

Comments
 (0)