diff --git a/scripts/build/appveyor.py b/scripts/build/appveyor.py index 22b8b4c66..d5e444df4 100755 --- a/scripts/build/appveyor.py +++ b/scripts/build/appveyor.py @@ -657,7 +657,7 @@ def py_ver(self): 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 diff --git a/scripts/build/build_macos_arm64.sh b/scripts/build/build_macos_arm64.sh index 1f951c34f..e468c3168 100755 --- a/scripts/build/build_macos_arm64.sh +++ b/scripts/build/build_macos_arm64.sh @@ -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