Skip to content

Commit

Permalink
Unblock py3.12 for cibw
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 12, 2023
1 parent 7658e2f commit ab187b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ build-backend = "setuptools.build_meta"
test-command = "pytest {project}/test"
test-extras = ["test"]

# Skipping pypy 3.10 because there's no numpy wheel
[tool.cibuildwheel.linux]
skip = ["pp37*", "cp36-*", "cp37-*"]
test-command = ""
Expand All @@ -36,13 +35,13 @@ before-all = [
repair-wheel-command = "auditwheel repair -w {dest_dir} --lib-sdir=/.libs {wheel}"

[tool.cibuildwheel.macos]
skip = ["pp*", "cp36-*", "cp37-*", "cp312-*"]
skip = ["pp*", "cp36-*", "cp37-*"]
before-all = "bash {package}/scripts/build-ocl-macos.sh"
test-command = "pytest {project}/test/test_array.py" # same limitation as conda-forge
# https://github.com/conda-forge/pyopencl-feedstock/blob/6f3c5de59b18c9518abba3cb94f6ae92964553f8/recipe/meta.yaml#L62-L63

[tool.cibuildwheel.windows]
skip = ["*-win32", "pp*", "cp36-*", "cp37-*", "cp312-*"]
skip = ["*-win32", "pp*", "cp36-*", "cp37-*"]
test-command = ""
before-all = "bash {package}/scripts/build-ocl-windows.sh"
before-build = "python configure.py --cl-inc-dir=D:/a/pyopencl/pyopencl/OpenCL-Headers/install/include --cl-lib-dir=\"C:/Program Files/OpenCL-ICD-Loader/lib\""

0 comments on commit ab187b0

Please sign in to comment.