Skip to content

Commit 1af5eb6

Browse files
authored
Merge pull request #1212 from dbfixtures/python3.14
Add support for Python 3.14, drop for Python 3.9
2 parents 51d2352 + effc66b commit 1af5eb6

File tree

18 files changed

+77
-73
lines changed

18 files changed

+77
-73
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ updates:
33
- package-ecosystem: pip
44
directories:
55
- "/"
6+
exclude-paths:
7+
- "oldest/*"
68
schedule:
79
interval: daily
810
time: "02:00"

.github/workflows/dockerised-postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
python-versions:
77
description: 'Supported python versions'
8-
default: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
8+
default: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
99
required: false
1010
type: string
1111
postgresql:

.github/workflows/oldest-postgres.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
python-versions:
77
description: 'Supported python versions'
8-
default: '["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]'
8+
default: '["3.10", "3.11", "3.12", "3.13", "3.14", "pypy-3.11"]'
99
required: false
1010
type: string
1111
postgresql:
@@ -57,7 +57,7 @@ jobs:
5757
- name: Install oldest supported versions
5858
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
5959
with:
60-
command: pip install -r oldest/requirements.rq
60+
command: pip install -r oldest/requirements.txt
6161
- name: Run tests without xdist
6262
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
6363
with:

.github/workflows/single-postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
inputs:
66
python-versions:
77
description: 'Supported python versions'
8-
default: '["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]'
8+
default: '["3.10", "3.11", "3.12", "3.13", "3.14", "pypy-3.11"]'
99
required: false
1010
type: string
1111
postgresql:

.github/workflows/tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,46 +19,46 @@ jobs:
1919
uses: ./.github/workflows/single-postgres.yml
2020
with:
2121
postgresql: 16
22-
python-versions: '["3.10", "3.11", "3.12", "3.13", "pypy-3.10"]'
22+
python-versions: '["3.11", "3.12", "3.13", "3.14", "pypy-3.11"]'
2323
postgresql_15:
2424
needs: [postgresql_16]
2525
uses: ./.github/workflows/single-postgres.yml
2626
with:
2727
postgresql: 15
28-
python-versions: '["3.11", "3.12", "3.13"]'
28+
python-versions: '["3.12", "3.13", "3.14"]'
2929
postgresql_14:
3030
needs: [postgresql_15]
3131
uses: ./.github/workflows/single-postgres.yml
3232
with:
3333
postgresql: 14
34-
python-versions: '["3.13"]'
34+
python-versions: '["3.14"]'
3535
postgresql_13:
3636
needs: [postgresql_14]
3737
uses: ./.github/workflows/single-postgres.yml
3838
with:
3939
postgresql: 13
40-
python-versions: '["3.13"]'
40+
python-versions: '["3.14"]'
4141
macos_postgres_17:
4242
needs: [postgresql_17]
4343
uses: ./.github/workflows/single-postgres.yml
4444
with:
4545
postgresql: 17
4646
os: macos-latest
47-
python-versions: '["3.11", "3.12", "3.13"]'
47+
python-versions: '["3.12", "3.13", "3.14"]'
4848
macos_postgres_16:
4949
needs: [postgresql_16, macos_postgres_17]
5050
uses: ./.github/workflows/single-postgres.yml
5151
with:
5252
postgresql: 16
5353
os: macos-latest
54-
python-versions: '["3.11", "3.12", "3.13"]'
54+
python-versions: '["3.12", "3.13", "3.14"]'
5555
macos_postgres_15:
5656
needs: [postgresql_15, macos_postgres_16]
5757
uses: ./.github/workflows/single-postgres.yml
5858
with:
5959
postgresql: 15
6060
os: macos-latest
61-
python-versions: '["3.12", "3.13"]'
61+
python-versions: '["3.13", "3.14"]'
6262
docker_postgresql_17:
6363
needs: [postgresql_17]
6464
uses: ./.github/workflows/dockerised-postgres.yml
@@ -69,22 +69,22 @@ jobs:
6969
uses: ./.github/workflows/dockerised-postgres.yml
7070
with:
7171
postgresql: 16
72-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
72+
python-versions: '["3.11", "3.12", "3.13", "3.14"]'
7373
docker_postgresql_15:
7474
needs: [postgresql_15, docker_postgresql_17]
7575
uses: ./.github/workflows/dockerised-postgres.yml
7676
with:
7777
postgresql: 15
78-
python-versions: '["3.11", "3.12", "3.13"]'
78+
python-versions: '["3.12", "3.13", "3.14"]'
7979
docker_postgresql_14:
8080
needs: [postgresql_14, docker_postgresql_15]
8181
uses: ./.github/workflows/dockerised-postgres.yml
8282
with:
8383
postgresql: 14
84-
python-versions: '["3.12", "3.13"]'
84+
python-versions: '["3.13", "3.14"]'
8585
docker_postgresql_13:
8686
needs: [postgresql_13, docker_postgresql_14]
8787
uses: ./.github/workflows/dockerised-postgres.yml
8888
with:
8989
postgresql: 13
90-
python-versions: '["3.13"]'
90+
python-versions: '["3.14"]'

newsfragments/+6028688d.break.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dropped support for Python 3.9 as it has reached End of Life
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marked support for Python 3.14

oldest/requirements.rq

Lines changed: 0 additions & 4 deletions
This file was deleted.

oldest/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pytest == 7.4; python_version >= "3.14"
2+
pytest == 7.2; python_version < "3.14"
3+
port-for == 0.7.3
4+
mirakuru == 2.6.0
5+
psycopg == 3.0.0

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ classifiers = [
1717
"Operating System :: OS Independent",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
2423
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
2525
"Programming Language :: Python :: 3 :: Only",
2626
"Topic :: Software Development :: Libraries :: Python Modules",
2727
"Topic :: Software Development :: Testing",
@@ -34,7 +34,7 @@ dependencies = [
3434
"packaging",
3535
"psycopg >= 3.0.0"
3636
]
37-
requires-python = ">= 3.9"
37+
requires-python = ">= 3.10"
3838

3939
[project.urls]
4040
"Source" = "https://github.com/dbfixtures/pytest-postgresql"
@@ -65,7 +65,7 @@ norecursedirs = "examples"
6565

6666
[tool.black]
6767
line-length = 100
68-
target-version = ['py39']
68+
target-version = ['py310']
6969
include = '.*\.pyi?$'
7070

7171
[tool.ruff]

0 commit comments

Comments
 (0)