Skip to content

Commit

Permalink
need Python 3.11 for buffers in stable API
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Dec 3, 2024
1 parent e95632d commit f43bd43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
resource_class: arm.medium

environment:
CIBW_SKIP: "cp39-* cp310-* cp311-* cp313-* << parameters.skip >>"
CIBW_SKIP: "cp312-* cp313-* << parameters.skip >>"
CIBW_BUILD: "<< parameters.build >>"
CIBW_PRERELEASE_PYTHONS: "1"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: "10.9"
CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
CIBW_SKIP: "cp39-* cp310-* cp311-* cp313-* ${{ matrix.cibw.skip || '' }}"
CIBW_SKIP: "cp312-* cp313-* ${{ matrix.cibw.skip || '' }}"
CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"
CIBW_MANYLINUX_X86_64_IMAGE: "${{ matrix.cibw.manylinux_x86_64_image || '' }}"

Expand Down
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,10 @@ select = "cp3{7,8,9}-* pp3{7,8}-*"
manylinux-x86_64-image = "manylinux2010"
manylinux-i686-image = "manylinux2010"

# build limited-api wheels for 3.8, 3.12
# build limited-api wheels for 3.11
[[tool.cibuildwheel.overrides]]
select = "cp312-*"
config-settings = { "wheel.py-api" = "cp312" }

[[tool.cibuildwheel.overrides]]
select = "cp38-*"
config-settings = { "wheel.py-api" = "cp38" }
select = "cp311-*"
config-settings = { "wheel.py-api" = "cp311" }

# note: manylinux_2_28 builds are added
# in .github/workflows/wheels.yml
Expand Down

0 comments on commit f43bd43

Please sign in to comment.