Build packages for Python 3.11

This commit is contained in:
Daniele Varrazzo 2022-10-25 12:26:20 +02:00
parent 271dd1fce7
commit 12700a5f02
6 changed files with 14 additions and 7 deletions

View File

@ -79,7 +79,7 @@ jobs:
docker run --rm
-e PLAT=${{ matrix.tag }}_${{ matrix.arch }}
-e PACKAGE_NAME=psycopg2-binary
-e PYVERS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
-e PYVERS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311"
-e PSYCOPG2_TESTDB=postgres
-e PSYCOPG2_TESTDB_HOST=172.17.0.1
-e PSYCOPG2_TESTDB_USER=postgres
@ -117,7 +117,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout repos

View File

@ -18,15 +18,15 @@ jobs:
- {python: "3.8", postgres: "12"}
- {python: "3.9", postgres: "13"}
- {python: "3.10", postgres: "14"}
- {python: "3.11-dev", postgres: "15rc1"}
- {python: "3.11", postgres: "15"}
# Opposite extremes of the supported Py/PG range, other architecture
- {python: "3.6", postgres: "15rc1", architecture: "x86"}
- {python: "3.6", postgres: "15", architecture: "x86"}
- {python: "3.7", postgres: "14", architecture: "x86"}
- {python: "3.8", postgres: "13", architecture: "x86"}
- {python: "3.9", postgres: "12", architecture: "x86"}
- {python: "3.10", postgres: "11", architecture: "x86"}
- {python: "3.11-dev", postgres: "10", architecture: "x86"}
- {python: "3.11", postgres: "10", architecture: "x86"}
env:
PSYCOPG2_TESTDB: postgres

6
NEWS
View File

@ -1,6 +1,12 @@
Current release
---------------
What's new in psycopg 2.9.5
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Add support for Python 3.11.
What's new in psycopg 2.9.4
^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -131,7 +131,7 @@ The current `!psycopg2` implementation supports:
..
NOTE: keep consistent with setup.py and the /features/ page.
- Python versions from 3.6 to 3.10
- Python versions from 3.6 to 3.11
- PostgreSQL server versions from 7.4 to 15
- PostgreSQL client library version from 9.1

View File

@ -10,7 +10,7 @@
set -euo pipefail
set -x
python_versions="3.8.10 3.9.13 3.10.5"
python_versions="3.8.10 3.9.13 3.10.5 3.11"
postgres_version=14
# Move to the root of the project

View File

@ -60,6 +60,7 @@ Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: C