chore: add support for Python 3.12 macOS arm64 wheels

This commit is contained in:
Rene Leonhardt 2023-10-29 14:57:07 +01:00 committed by Daniele Varrazzo
parent ad5bee7054
commit 941ac9a724
2 changed files with 3 additions and 3 deletions

View File

@ -660,7 +660,7 @@ class Options:
For large values of 2, occasionally.
"""
rv = os.environ['PY_VER']
assert rv in ('37', '38', '39', '310', '311', "312"), rv
assert rv in ('37', '38', '39', '310', '311', '312'), rv
return rv
@property

View File

@ -10,7 +10,7 @@
set -euo pipefail
# set -x
python_versions="3.8.10 3.9.13 3.10.5 3.11.0 3.12.0"
python_versions="3.8.18 3.9.18 3.10.13 3.11.6 3.12.0"
pg_version=16
function log {
@ -89,7 +89,7 @@ log "building wheels"
# Build the binary packages
export CIBW_PLATFORM=macos
export CIBW_ARCHS=arm64
export CIBW_BUILD='cp{38,39,310,311}-*'
export CIBW_BUILD='cp{38,39,310,311,312}-*'
export CIBW_TEST_COMMAND='python -c "import tests; tests.unittest.main(defaultTest=\"tests.test_suite\")"'
export PSYCOPG2_TESTDB=postgres