Revert "Update pybind11 to version 2.10.4" for now.

This reverts commits 9d077c9ba5 and
b4938f5198.

They cause a crash-on-startup on Mac ARM machines, failing to get the
locale encoding (nl_langinfo(CODESET) failed).
This commit is contained in:
Jeff Young
2023-04-18 17:28:10 +01:00
parent ba12f00c15
commit 2533141583
169 changed files with 3389 additions and 7035 deletions
+1 -3
View File
@@ -162,7 +162,7 @@ static int data_i = 42;
TEST_SUBMODULE(numpy_array, sm) {
try {
py::module_::import("numpy");
} catch (const py::error_already_set &) {
} catch (...) {
return;
}
@@ -521,6 +521,4 @@ TEST_SUBMODULE(numpy_array, sm) {
sm.def("test_fmt_desc_double", [](const py::array_t<double> &) {});
sm.def("test_fmt_desc_const_float", [](const py::array_t<const float> &) {});
sm.def("test_fmt_desc_const_double", [](const py::array_t<const double> &) {});
sm.def("round_trip_float", [](double d) { return d; });
}