mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 00:46:33 +03:00
chore: add support for Python 3.12 macOS arm64 wheels
This commit is contained in:
parent
ad5bee7054
commit
941ac9a724
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user