Skip to content

Commit

Permalink
Use numpy>=2.0.0
Browse files Browse the repository at this point in the history
Change numpy-stl source due to a bug for numpy>=2.0.0. Will be change again whent the package will be updated
pybind11 has to be updated to latest tag to take into numpy>=2.0.0

Still working with numpy < 2.0.0
  • Loading branch information
tbaudier committed Oct 4, 2024
1 parent 26d5c8a commit 794e7e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/external/pybind11
Submodule pybind11 updated 66 files
+2 −0 .clang-tidy
+7 −1 .github/workflows/ci.yml
+3 −3 .github/workflows/emscripten.yaml
+1 −1 .github/workflows/format.yml
+6 −3 .github/workflows/pip.yml
+5 −5 .pre-commit-config.yaml
+2 −0 CMakeLists.txt
+1 −1 docs/advanced/cast/eigen.rst
+3 −3 docs/advanced/cast/stl.rst
+3 −3 docs/advanced/smart_ptrs.rst
+7 −0 docs/basics.rst
+164 −0 docs/changelog.rst
+3 −3 docs/compiling.rst
+44 −0 docs/faq.rst
+16 −3 include/pybind11/detail/class.h
+7 −4 include/pybind11/detail/common.h
+77 −0 include/pybind11/detail/cpp_conduit.h
+71 −0 include/pybind11/detail/exception_translation.h
+9 −7 include/pybind11/detail/internals.h
+43 −2 include/pybind11/detail/type_caster_base.h
+2 −1 include/pybind11/eigen/matrix.h
+2 −4 include/pybind11/eigen/tensor.h
+45 −34 include/pybind11/functional.h
+6 −2 include/pybind11/numpy.h
+7 −55 include/pybind11/pybind11.h
+2 −0 include/pybind11/pytypes.h
+16 −7 include/pybind11/stl/filesystem.h
+1 −1 include/pybind11/stl_bind.h
+1 −3 include/pybind11/typing.h
+26 −3 pybind11/__main__.py
+1 −1 pybind11/_version.py
+7 −0 tests/CMakeLists.txt
+3 −3 tests/conftest.py
+1 −1 tests/constructor_stats.h
+103 −0 tests/exo_planet_c_api.cpp
+19 −0 tests/exo_planet_pybind11.cpp
+2 −0 tests/extra_python_package/test_files.py
+13 −0 tests/home_planet_very_lonely_traveler.cpp
+8 −8 tests/local_bindings.h
+4 −0 tests/pyproject.toml
+1 −1 tests/test_async.py
+12 −0 tests/test_buffers.cpp
+7 −0 tests/test_buffers.py
+1 −1 tests/test_callbacks.cpp
+22 −0 tests/test_cpp_conduit.cpp
+162 −0 tests/test_cpp_conduit.py
+47 −0 tests/test_cpp_conduit_traveler_bindings.h
+25 −0 tests/test_cpp_conduit_traveler_types.h
+1 −1 tests/test_custom_type_setup.py
+2 −2 tests/test_eigen_matrix.cpp
+11 −5 tests/test_eigen_tensor.inl
+6 −6 tests/test_modules.cpp
+1 −1 tests/test_numpy_array.py
+2 −0 tests/test_numpy_dtypes.cpp
+2 −2 tests/test_opaque_types.cpp
+63 −0 tests/test_pytypes.cpp
+44 −2 tests/test_pytypes.py
+2 −2 tests/test_sequences_and_iterators.cpp
+9 −6 tests/test_smart_ptr.cpp
+1 −1 tests/test_stl.cpp
+2 −1 tests/test_tagbased_polymorphic.cpp
+46 −0 tests/test_type_caster_std_function_specializations.cpp
+15 −0 tests/test_type_caster_std_function_specializations.py
+1 −1 tests/test_virtual_functions.cpp
+28 −2 tools/pybind11Common.cmake
+1 −1 tools/pybind11Config.cmake.in
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"click",
"python-box<7.0.0",
"anytree",
"numpy<2.0.0",
"numpy",
"itk",
"uproot",
"scipy",
"matplotlib",
"GitPython",
"colorlog",
"numpy-stl",
"numpy-stl @ git+https://github.com/tbaudier/numpy-stl@c7c46838c750eeda794fd568d7c57e6eca1af5a2",
"radioactivedecay",
"jsonpickle",
"pandas",
Expand Down

0 comments on commit 794e7e8

Please sign in to comment.