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

Bump pybind #426

Open
wants to merge 1 commit into
base: aaron/revup/main/fix-wheels
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
pybind11-stubgen==2.5.1
pybind11-stubgen==2.5.3
# via symforce (setup.py)
pygments==2.18.0
# via
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ def fixed_readme() -> str:
"numba",
# 6.13 fixes pip >=23.1 support
"pip-tools>=6.13",
"pybind11-stubgen>=1.0",
# For https://github.com/sizmailov/pybind11-stubgen/pull/243
"pybind11-stubgen>=2.5.3",
# 0.7.2 introduces this bug: https://github.com/astral-sh/ruff/pull/15090
"ruff==0.7.1",
"types-jinja2",
Expand Down
6 changes: 3 additions & 3 deletions symforce/pybind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

include(FetchContent)

find_package(pybind11 2.9.2 QUIET)
find_package(pybind11 2.13.6 QUIET)
if (NOT pybind11_FOUND)
message(STATUS "pybind11 not found, adding with FetchContent")
# NOTE(brad): Set PYTHON_EXECUTABLE to ensure pybind11 uses the same
# python as the rest of symforce.
set(PYTHON_EXECUTABLE ${SYMFORCE_PYTHON})
FetchContent_Declare(
pybind11
URL https://github.com/pybind/pybind11/archive/v2.9.2.zip
URL_HASH SHA256=d1646e6f70d8a3acb2ddd85ce1ed543b5dd579c68b8fb8e9638282af20edead8
URL https://github.com/pybind/pybind11/archive/v2.13.6.zip
URL_HASH SHA256=d0a116e91f64a4a2d8fb7590c34242df92258a61ec644b79127951e821b47be6
)
FetchContent_MakeAvailable(pybind11)
else()
Expand Down