Skip to content

Commit c2c88c7

Browse files
committed
Only use modern database adapters with Python 3.13
1 parent b4de1d5 commit c2c88c7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
fail-fast: false
7474
max-parallel: 5
7575
matrix:
76-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
76+
# Skip 3.13 here, it needs the psycopg3 / postgis3 database
77+
python-version: ['3.9', '3.10', '3.11', '3.12']
7778
database: [postgresql, postgis]
7879
# Add psycopg3 to our matrix for modern python versions
7980
include:
@@ -85,6 +86,8 @@ jobs:
8586
database: psycopg3
8687
- python-version: '3.13'
8788
database: psycopg3
89+
- python-version: '3.13'
90+
database: postgis3
8891

8992
services:
9093
postgres:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ envlist =
55
packaging
66
py{39,310,311,312}-dj{42}-{sqlite,postgresql,postgis,mysql}
77
py{310,311,312}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
8-
py{313}-dj{51,main}-{sqlite,psycopg3,mysql}
8+
py{313}-dj{51,main}-{sqlite,psycopg3,postgis3,mysql}
99

1010
[testenv]
1111
deps =

0 commit comments

Comments
 (0)