Skip to content

Commit

Permalink
fix: use latest pybind11
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Aug 13, 2024
1 parent 171eec5 commit f2063e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set(Python_ARTIFACTS_INTERACTIVE TRUE)
FetchContent_Declare(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG 941f45bcb51457884fa1afd6e24a67377d70f75c # v2.13.1
GIT_TAG 07f30430d4186c2712761f1ffaea50ede63f2b2b # v2.13.2
FIND_PACKAGE_ARGS NAMES pybind11)
FetchContent_MakeAvailable(pybind11)

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["scikit-build-core>=0.10", "pybind11>=2.12"]
requires = ["scikit-build-core>=0.10", "pybind11>=2.13.2"]
build-backend = "scikit_build_core.build"

[project]
Expand Down Expand Up @@ -169,7 +169,8 @@ skip = [
"cp313t-*win*"
]
test-skip = [
"cp3[78]-musllinux_*",
"cp*-musllinux_*", # Segfaults
"pp310-macosx_arm64", # No binary (numpy 2.1.0 rc 1)
]
free-threaded-support = true
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
Expand All @@ -179,8 +180,6 @@ environment.PIP_PREFER_BINARY = "1"
[[tool.cibuildwheel.overrides]]
select = "*pyodide*"
inherit.environment = "append"
environment.CFLAGS = "-fexceptions"
environment.LDFLAGS = "-fexceptions"
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}

[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit f2063e9

Please sign in to comment.