Overview

Request 1165773 accepted

- update to 2.12.0:
* 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, py::typing::Iterable. #4832
* Render py::function as Callable in docstring. #4829
* Also bump PYBIND11_INTERNALS_VERSION for MSVC, which unlocks
two new features without creating additional

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 2.12.0:
* 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, py::typing::Iterable. #4832
* Render py::function as Callable in docstring. #4829
* Also bump PYBIND11_INTERNALS_VERSION for MSVC, which unlocks
two new features without creating additional


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:E as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:E"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:E"


Dominique Leuenberger's avatar

dimstar accepted review


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:E got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:E got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:E got accepted.

openSUSE Build Service is sponsored by