Skip to content

Commit

Permalink
chore: add support for Python 3.12 macOS arm64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
reneleonhardt authored and dvarrazzo committed Nov 1, 2023
1 parent ad5bee7 commit 941ac9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/build/appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,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
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/build_macos_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 941ac9a

Please sign in to comment.