Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD: add wheels for CPython 3.12 #4625

Merged
merged 3 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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