python-pybind11

Edit Package python-pybind11
No description set
Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
pybind11-2.12.0.tar.gz 0000771004 753 KB
python-pybind11-rpmlintrc 0000000072 72 Bytes
python-pybind11.changes 0000034262 33.5 KB
python-pybind11.spec 0000006497 6.34 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1165773 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 23)
- 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<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
Comments 0
openSUSE Build Service is sponsored by