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
15 changes: 9 additions & 6 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
matrix:
platform: [manylinux, musllinux]
arch: [x86_64, aarch64, ppc64le]
pyver: [cp39, cp310, cp311, cp312, cp313]
pyver: [cp39, cp310, cp311, cp312, cp313, cp314]

runs-on: ubuntu-latest
steps:
Expand All @@ -83,8 +83,9 @@ jobs:
key: libpq-${{ env.LIBPQ_VERSION }}-${{ matrix.platform }}-${{ matrix.arch }}

- name: Build wheels
uses: pypa/cibuildwheel@v2.23.3
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_SKIP: "cp31?t-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
Expand Down Expand Up @@ -140,7 +141,7 @@ jobs:
matrix:
# These archs require an Apple M1 runner: [arm64, universal2]
arch: [x86_64, arm64]
pyver: [cp39, cp310, cp311, cp312, cp313]
pyver: [cp39, cp310, cp311, cp312, cp313, cp314]

steps:
- name: Checkout repos
Expand All @@ -153,8 +154,9 @@ jobs:
key: libpq-${{ env.LIBPQ_VERSION }}-macos-${{ matrix.arch }}

- name: Build wheels
uses: pypa/cibuildwheel@v2.23.3
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_SKIP: "cp31?t-*"
CIBW_BUILD: ${{matrix.pyver}}-macosx_${{matrix.arch}}
CIBW_ARCHS_MACOS: ${{matrix.arch}}
MACOSX_ARCHITECTURE: ${{matrix.arch}}
Expand Down Expand Up @@ -184,7 +186,7 @@ jobs:
fail-fast: false
matrix:
arch: [win_amd64]
pyver: [cp39, cp310, cp311, cp312, cp313]
pyver: [cp39, cp310, cp311, cp312, cp313, cp314]
package_name: [psycopg2, psycopg2-binary]

defaults:
Expand Down Expand Up @@ -223,8 +225,9 @@ jobs:
if: ${{ matrix.package_name != 'psycopg2' }}

- name: Build wheels
uses: pypa/cibuildwheel@v2.23.3
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_SKIP: "cp31?t-*"
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" # cache vcpkg
CIBW_BUILD: ${{matrix.pyver}}-${{matrix.arch}}
CIBW_ARCHS_WINDOWS: AMD64 x86
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ jobs:
fail-fast: false
matrix:
include:
- {python: "3.9", postgres: "14"}
- {python: "3.10", postgres: "15"}
- {python: "3.11", postgres: "16"}
- {python: "3.12", postgres: "17"}
- {python: "3.13", postgres: "18"}
- {python: "3.9", postgres: "13"}
- {python: "3.10", postgres: "14"}
- {python: "3.11", postgres: "15"}
- {python: "3.12", postgres: "16"}
- {python: "3.13", postgres: "17"}
- {python: "3.14", postgres: "18"}

# Opposite extremes of the supported Py/PG range, other architecture
- {python: "3.9", postgres: "18", architecture: "x86"}
- {python: "3.10", postgres: "17", architecture: "x86"}
- {python: "3.11", postgres: "16", architecture: "x86"}
- {python: "3.12", postgres: "15", architecture: "x86"}
- {python: "3.13", postgres: "13", architecture: "x86"}
- {python: "3.13", postgres: "14", architecture: "x86"}
- {python: "3.14", postgres: "13", architecture: "x86"}

env:
PSYCOPG2_TESTDB: postgres
Expand Down Expand Up @@ -70,6 +72,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Run tests
env:
MATRIX_PYTHON: ${{ matrix.python }}
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Current release
What's new in psycopg 2.9.11
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Add support for Python 3.14.
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
PostgreSQL 18.
- Drop support for Python 3.8.
Expand Down
2 changes: 1 addition & 1 deletion doc/src/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ The current `!psycopg2` implementation supports:
..
NOTE: keep consistent with setup.py and the /features/ page.

- Python versions from 3.9 to 3.13
- Python versions from 3.9 to 3.14
- PostgreSQL server versions from 7.4 to 18
- PostgreSQL client library version from 9.1

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3.14
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: C
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {3.9,3.10,3.11,3.12,3.13}
envlist = {3.9,3.10,3.11,3.12,3.13,3.14}

[testenv]
commands = make check
Expand Down