Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
py: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
pg: [12, 13, 14, 15]
pg: [12, 13, 14, 15, 16, 17, 18]
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- postgresql@14
- postgresql@15
- postgresql@16
- postgresql@17
- postgresql@18
runs-on: macos-14
steps:
- name: os info
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ approach is to create a psycopg2 wheel for distribution to production machines

Compatibility
"""""""""""""
pgcopy is tested with Python versions 3.8 -- 3.12 and
PostgreSQL versions 12 -- 16
pgcopy is tested with Python versions 3.8 -- 3.14 and
PostgreSQL versions 12 -- 18

.. note::

Expand Down
2 changes: 1 addition & 1 deletion docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ database:


For more thorough testing, tox_ with tox-docker_ will run tests on python
versions 3.8 -- 3.12 and postgresql versions 12 -- 16::
versions 3.8 -- 3.14 and postgresql versions 12 -- 18::

$ tox

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def get_version(package_name, default="0.1"):
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
32 changes: 30 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{38,39,310,311,312}
py310-pg{12,13,14,15}
py{38,39,310,311,312,313,314}
py310-pg{12,13,14,15,16,17,18}
vector
psycopg28
[testenv]
Expand All @@ -24,6 +24,12 @@ docker = pg13
docker = pg14
[testenv:py310-pg15]
docker = pg15
[testenv:py310-pg16]
docker = pg16
[testenv:py310-pg17]
docker = pg17
[testenv:py310-pg18]
docker = pg18
[testenv:vector]
base_python = python3.10
docker = pgvector
Expand Down Expand Up @@ -97,6 +103,28 @@ healthcheck_timeout = 1
healthcheck_retries = 30
healthcheck_interval = 1
healthcheck_start_period = 1
[docker:pg17]
image = postgres:17
environment=
POSTGRES_HOST_AUTH_METHOD=trust
healthcheck_cmd = psql --user=postgres \
--host=127.0.0.1 --quiet --no-align --tuples-only \
-1 --command="SELECT 1"
healthcheck_timeout = 1
healthcheck_retries = 30
healthcheck_interval = 1
healthcheck_start_period = 1
[docker:pg18]
image = postgres:18
environment=
POSTGRES_HOST_AUTH_METHOD=trust
healthcheck_cmd = psql --user=postgres \
--host=127.0.0.1 --quiet --no-align --tuples-only \
-1 --command="SELECT 1"
healthcheck_timeout = 1
healthcheck_retries = 30
healthcheck_interval = 1
healthcheck_start_period = 1
[docker:pgvector]
image = pgvector/pgvector:pg16
environment=
Expand Down
Loading