Skip to content

Commit 1c2a122

Browse files
committed
enable PyPy 3.8 and 32-bit builds
1 parent 40ee68b commit 1c2a122

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ if (NOT SKBUILD)
2020
$ pip install nanobind scikit-build-core[pyproject]
2121
$ pip install --no-build-isolation -ve .
2222
=====================================================================
23-
You can optionally add -Ceditable.rebuild=true to auto-rebuild when you
24-
import. Otherwise, you need to rerun the above command when you edit C++ files.
25-
")
23+
You may optionally add -Ceditable.rebuild=true to auto-rebuild when
24+
the package is imported. Otherwise, you need to re-run the above
25+
after editing C++ files.")
2626
endif()
2727

2828
# Try to import all Python components potentially needed by nanobind
@@ -55,5 +55,5 @@ nanobind_add_module(
5555
src/nanobind_example_ext.cpp
5656
)
5757

58-
# Install directive for scikit-build
58+
# Install directive for scikit-build-core
5959
install(TARGETS nanobind_example_ext LIBRARY DESTINATION nanobind_example)

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.1"]
2+
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.2"]
33
build-backend = "scikit_build_core.build"
44

55
[project]
@@ -31,12 +31,6 @@ wheel.py-api = "cp312"
3131

3232

3333
[tool.cibuildwheel]
34-
# PyPy38 is not supported by nanobind
35-
skip = ["pp38*"]
36-
37-
# 32-bit builds are not supported by nanobind
38-
archs = ["auto64"]
39-
4034
# Necessary to see build output from the actual compilation
4135
build-verbosity = 1
4236

0 commit comments

Comments
 (0)