forked from pool/python-pybind11
335968c1a6f68e5760b8f2481ad156b7a5b25ab8350f0d10b1331b02d0274457
* pybind11 now supports compiling for NumPy 2. However, if you experience issues you can define PYBIND11_NUMPY_1_ONLY to disable the new support for now, but this will be removed in the future. #5050 * pybind11/gil_safe_call_once.h was added (it needs to be included explicitly). The primary use case is GIL-safe initialization of C++ static variables. #4877 * Support move-only iterators in py::make_iterator, py::make_key_iterator, py::make_value_iterator. #4834 * Two simple py::set_error() functions were added and the documentation was updated accordingly. In particular, py::exception<>::operator() was deprecated (use one of the new functions instead). The documentation for py::exception<> was further updated to not suggest code that may result in undefined behavior. #4772 * Removes potential for Undefined Behavior during process teardown. #4897 * Improve compatibility with the nvcc compiler (especially CUDA 12.1/12.2). #4893 * pybind11/numpy.h now imports NumPy's multiarray and _internal submodules with paths depending on the installed version of NumPy (for compatibility with NumPy 2). #4857 * Builtins collections names in docstrings are now consistently rendered in lowercase (list, set, dict, tuple), in accordance with PEP 585. #4833 * Added py::typing::Iterator<T>, py::typing::Iterable<T>. #4832 * Render py::function as Callable in docstring. #4829 * Also bump PYBIND11_INTERNALS_VERSION for MSVC, which unlocks two new features without creating additional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=48
Description
No description provided
Languages
RPM Spec
100%