Skip to content

Commit

Permalink
Merge pull request #4625 from neutrinoceros/cp312_wheels
Browse files Browse the repository at this point in the history
BLD: add wheels for CPython 3.12
  • Loading branch information
Xarthisius authored Aug 17, 2023
2 parents 3212c34 + 75b06b0 commit d836266
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
uses: actions/checkout@v3

- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.14.1
uses: pypa/cibuildwheel@v2.15.0
with:
output-dir: dist
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-musllinux_*" # numpy doesn't have wheels for musllinux so we can't build some quickly and without bloating
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: x86_64 arm64
Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ requires = [

# see https://github.com/yt-project/yt/issues/4044
"Cython>=3.0, <3.1",
"oldest-supported-numpy",
"ewah-bool-utils>=1.0.2",
# TODO: simplify requirement after numpy 1.26.0 final is released
"oldest-supported-numpy ; python_version < '3.12.0rc1'",
"numpy>=1.26.0b1 ; python_version >= '3.12.0rc1'",

# TODO: simplify requirement after ewah-bool-utils 1.1.0 final is released
"ewah-bool-utils>=1.0.2 ; python_version < '3.12.0rc1'",
"ewah-bool-utils>=1.1.0rc1 ; python_version >= '3.12.0rc1'",
]
build-backend = "setuptools.build_meta:__legacy__"

Expand Down

0 comments on commit d836266

Please sign in to comment.