diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index c69489cd..fa39f2d0 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -5,7 +5,7 @@ on: env: PIP_BREAK_SYSTEM_PACKAGES: "1" - LIBPQ_VERSION: "16.0" + LIBPQ_VERSION: "17.4" OPENSSL_VERSION: "1.1.1w" jobs: @@ -163,7 +163,7 @@ jobs: export PYTHONPATH={project} && python -c "import tests; tests.unittest.main(defaultTest='tests.test_suite')" CIBW_ENVIRONMENT: >- - PG_VERSION=16 + PG_VERSION=17 PACKAGE_NAME=psycopg2-binary PSYCOPG2_TESTDB=postgres PATH="/tmp/libpq.build/bin:$PATH" diff --git a/NEWS b/NEWS index 31bb23fd..cb97720d 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,13 @@ Current release --------------- +What's new in psycopg 2.9.11 +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Wheel package bundled with PostgreSQL 17 libpq in order to add support for + recent changes, such as ``daticulocale`` being renamed to ``datlocale``. + + What's new in psycopg 2.9.10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/scripts/build/build_libpq.sh b/scripts/build/build_libpq.sh index 107460f8..5decf5f7 100755 --- a/scripts/build/build_libpq.sh +++ b/scripts/build/build_libpq.sh @@ -16,7 +16,7 @@ openssl_version="${OPENSSL_VERSION}" krb5_version="1.21.3" # last release: https://openldap.org/software/download/ -ldap_version="2.6.8" +ldap_version="2.6.9" # last release: https://github.com/cyrusimap/cyrus-sasl/releases sasl_version="2.1.28" diff --git a/scripts/build/build_macos_arm64.sh b/scripts/build/build_macos_arm64.sh index e468c316..45e064b5 100755 --- a/scripts/build/build_macos_arm64.sh +++ b/scripts/build/build_macos_arm64.sh @@ -11,7 +11,7 @@ set -euo pipefail # set -x python_versions="3.8.18 3.9.18 3.10.13 3.11.6 3.12.0" -pg_version=16 +pg_version=17 function log { echo "$@" >&2 diff --git a/scripts/build/wheel_macos_before_all.sh b/scripts/build/wheel_macos_before_all.sh index 36e1c0b8..26e66f11 100755 --- a/scripts/build/wheel_macos_before_all.sh +++ b/scripts/build/wheel_macos_before_all.sh @@ -3,7 +3,7 @@ # Configure the environment needed to build wheel packages on Mac OS. # This script is designed to be used by cibuildwheel as CIBW_BEFORE_ALL_MACOS # -# The PG_VERSION env var must be set to a Postgres major version (e.g. 16). +# The PG_VERSION env var must be set to a Postgres major version (e.g. 17). set -euo pipefail set -x diff --git a/setup.py b/setup.py index 36aef58e..f9be9701 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ import configparser # Take a look at https://www.python.org/dev/peps/pep-0440/ # for a consistent versioning pattern. -PSYCOPG_VERSION = '2.9.10' +PSYCOPG_VERSION = '2.9.11' # note: if you are changing the list of supported Python version please fix