Skip to content

Commit 0d69cff

Browse files
committed
Add Python 3.14 and 3.14 to the testing
https://www.python.org/downloads/release/python-3140/
1 parent 8795c8b commit 0d69cff

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-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 --upgrade postgres -c 'CREATE DATABASE postgis'
73+
psql --upgrade 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

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)