mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 00:46:33 +03:00
chore: build binary packages using libpq from PostgreSQL 15
fix #1497 as a side effect of using libpq 15.
This commit is contained in:
parent
12700a5f02
commit
e6e465c509
|
@ -9,7 +9,7 @@ To invalidate the cache, update this file and check it into git.
|
|||
Currently used modules built in the cache:
|
||||
|
||||
- OPENSSL_VERSION: 1.1.1q
|
||||
- POSTGRES_VERSION: 14.4
|
||||
- POSTGRES_VERSION: 15.0
|
||||
|
||||
|
||||
NOTE: to zap the cache manually you can also use:
|
||||
|
|
|
@ -25,7 +25,7 @@ environment:
|
|||
WORKFLOW: packages
|
||||
|
||||
OPENSSL_VERSION: "1_1_1q"
|
||||
POSTGRES_VERSION: "14_4"
|
||||
POSTGRES_VERSION: "15_0"
|
||||
|
||||
PSYCOPG2_TESTDB: psycopg2_test
|
||||
PSYCOPG2_TESTDB_USER: postgres
|
||||
|
|
|
@ -20,7 +20,7 @@ environment:
|
|||
WORKFLOW: tests
|
||||
|
||||
OPENSSL_VERSION: "1_1_1q"
|
||||
POSTGRES_VERSION: "14_4"
|
||||
POSTGRES_VERSION: "15_0"
|
||||
|
||||
PSYCOPG2_TESTDB: psycopg2_test
|
||||
PSYCOPG2_TESTDB_USER: postgres
|
||||
|
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -51,13 +51,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: install libpq 15
|
||||
# TODO: disable after PostgreSQL 15 has been released officially.
|
||||
if: true
|
||||
# Can enable to test an unreleased libpq version.
|
||||
- name: install libpq 16
|
||||
if false:
|
||||
run: |
|
||||
set -x
|
||||
rel=$(lsb_release -c -s)
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main 15" \
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main 16" \
|
||||
| sudo tee -a /etc/apt/sources.list.d/pgdg.list
|
||||
sudo apt-get -qq update
|
||||
pqver=$(apt-cache show libpq5 | grep ^Version: | head -1 \
|
||||
|
|
9
NEWS
9
NEWS
|
@ -5,6 +5,9 @@ What's new in psycopg 2.9.5
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
- Add support for Python 3.11.
|
||||
- Add support for rowcount in MERGE statements in binary packages
|
||||
(:ticket:`#1497`).
|
||||
- Wheel package compiled against OpenSSL 1.1.1q and PostgreSQL 15 libpq.
|
||||
|
||||
|
||||
What's new in psycopg 2.9.4
|
||||
|
@ -18,7 +21,7 @@ What's new in psycopg 2.9.4
|
|||
binary packages (:ticket:`#1365`).
|
||||
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
|
||||
PostgreSQL 15.
|
||||
- Wheel package compiled against OpenSSL 1.1.1q and PostgreSQL 14.4
|
||||
- Wheel package compiled against OpenSSL 1.1.1q and PostgreSQL 14.4 libpq.
|
||||
|
||||
|
||||
What's new in psycopg 2.9.3
|
||||
|
@ -35,7 +38,7 @@ What's new in psycopg 2.9.2
|
|||
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
|
||||
PostgreSQL 14.
|
||||
- Add preliminary support for Python 3.11 (:tickets:`#1376, #1386`).
|
||||
- Wheel package compiled against OpenSSL 1.1.1l and PostgreSQL 14.1
|
||||
- Wheel package compiled against OpenSSL 1.1.1l and PostgreSQL 14.1 libpq
|
||||
(:ticket:`#1388`).
|
||||
|
||||
|
||||
|
@ -72,7 +75,7 @@ Other changes:
|
|||
platforms.
|
||||
- Provide :pep:`600` wheels packages (manylinux_2_24 tag) for aarch64 and
|
||||
ppc64le platforms.
|
||||
- Wheel package compiled against OpenSSL 1.1.1k and PostgreSQL 13.3.
|
||||
- Wheel package compiled against OpenSSL 1.1.1k and PostgreSQL 13.3 libpq.
|
||||
- Build system for Linux/MacOS binary packages moved to GitHub Actions.
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ set -euo pipefail
|
|||
set -x
|
||||
|
||||
# Last release: https://www.postgresql.org/ftp/source/
|
||||
postgres_version="14.4"
|
||||
postgres_version="15.0"
|
||||
# last release: https://www.openssl.org/source/
|
||||
openssl_version="1.1.1q"
|
||||
# last release: https://openldap.org/software/download/
|
||||
|
|
|
@ -11,7 +11,7 @@ set -euo pipefail
|
|||
set -x
|
||||
|
||||
python_versions="3.8.10 3.9.13 3.10.5 3.11"
|
||||
postgres_version=14
|
||||
postgres_version=15
|
||||
|
||||
# Move to the root of the project
|
||||
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
|
Loading…
Reference in New Issue
Block a user