actions-suggest-related-links
actions-suggest-related-links copied to clipboard
deps: bump pybind11 from 2.9.2 to 2.10.3 in /models/fasttext
Bumps pybind11 from 2.9.2 to 2.10.3.
Release notes
Sourced from pybind11's releases.
Version 2.10.3
Changes:
- Temporarily made our GIL status assertions (added in 2.10.2) disabled by default (re-enable manually by defining
PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
, will be enabled in 2.11). #4432- Improved error messages when
inc_ref
/dec_ref
are called with an invalid GIL state. #4427 #4436Bug Fixes:
- Some minor touchups found by static analyzers. #4440
Version 2.10.2
Changes:
scoped_interpreter
constructor takingPyConfig
. #4372pybind11/eigen/tensor.h
adds converters to and fromEigen::Tensor
andEigen::TensorMap
#4201PyGILState_Check()
's were integrated topybind11::handle
inc_ref()
&dec_ref()
. The added GIL checks are guarded byPYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
, which is the default only ifNDEBUG
is not defined. #4246- Add option for enable/disable enum members in docstring. #2768
- Fixed typing of
KeysView
,ValuesView
andItemsView
inbind_map
. #4353Bug fixes:
- Bug fix affecting only Python 3.6 under very specific, uncommon conditions: move
PyEval_InitThreads()
call to the correct location. #4350- Fix segfault bug when passing foreign native functions to functional.h. #4254
Build system improvements:
- Support setting PYTHON_LIBRARIES manually for Windows ARM cross-compilation (classic mode). #4406
- Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler. #4402
- Allow calling
find_package(pybind11 CONFIG)
multiple times from separate directories in the same CMake project and properly link Python (new mode). #4401multiprocessing_set_spawn
in pytest fixture for added safety. #4377- Fixed a bug in two pybind11/tools cmake scripts causing "Unknown arguments specified" errors. #4327
Version 2.10.1
This is the first version to fully support embedding the newly released Python 3.11.
Changes:
- Allow
pybind11::capsule
constructor to take null destructor pointers. #4221embed.h
was changed so thatPYTHONPATH
is used also with Python 3.11 (established behavior). #4119- A
PYBIND11_SIMPLE_GIL_MANAGEMENT
option was added (cmake, C++ define), along with many additional tests intest_gil_scoped.py
. The option may be useful to try when debugging GIL-related issues, to determine if the more complex default implementation is or is not to blame. See #4216 for background. WARNING: Please be careful to not create ODR violations when using the option: everything that is linked together with mutual symbol visibility needs to be rebuilt. #4216PYBIND11_EXPORT_EXCEPTION
was made non-empty only under macOS. This makes Linux builds safer, and enables the removal of warning suppression pragmas for Windows. #4298Bug fixes:
- Fixed a bug where
UnicodeDecodeError
was not propagated from variouspy::str
ctors when decoding surrogate utf characters. #4294- Revert perfect forwarding for
make_iterator
. This broke at least one valid use case. May revisit later. #4234- Fix support for safe casts to
void*
(regression in 2.10.0). #4275- Fix
char8_t
support (regression in 2.9). #4278- Unicode surrogate character in Python exception message leads to process termination in
error_already_set::what()
. #4297
... (truncated)
Changelog
Sourced from pybind11's changelog.
Version 2.10.3 (Jan 3, 2023)
Changes:
Temporarily made our GIL status assertions (added in 2.10.2) disabled by default (re-enable manually by defining
PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
, will be enabled in 2.11).[#4432](https://github.com/pybind/pybind11/issues/4432) <https://github.com/pybind/pybind11/pull/4432>
_Improved error messages when
inc_ref
/dec_ref
are called with an invalid GIL state.[#4427](https://github.com/pybind/pybind11/issues/4427) <https://github.com/pybind/pybind11/pull/4427>
_[#4436](https://github.com/pybind/pybind11/issues/4436) <https://github.com/pybind/pybind11/pull/4436>
_Bug Fixes:
- Some minor touchups found by static analyzers.
[#4440](https://github.com/pybind/pybind11/issues/4440) <https://github.com/pybind/pybind11/pull/4440>
_Version 2.10.2 (Dec 20, 2022)
Changes:
scoped_interpreter
constructor takingPyConfig
.[#4330](https://github.com/pybind/pybind11/issues/4330) <https://github.com/pybind/pybind11/pull/4330>
_
pybind11/eigen/tensor.h
adds converters to and fromEigen::Tensor
andEigen::TensorMap
.[#4201](https://github.com/pybind/pybind11/issues/4201) <https://github.com/pybind/pybind11/pull/4201>
_
PyGILState_Check()
's were integrated topybind11::handle
inc_ref()
&dec_ref()
. The added GIL checks are guarded byPYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
, which is the default only ifNDEBUG
is not defined. (Made non-default in 2.10.3, will be active in 2.11)[#4246](https://github.com/pybind/pybind11/issues/4246) <https://github.com/pybind/pybind11/pull/4246>
_Add option for enable/disable enum members in docstring.
[#2768](https://github.com/pybind/pybind11/issues/2768) <https://github.com/pybind/pybind11/pull/2768>
_Fixed typing of
KeysView
,ValuesView
andItemsView
inbind_map
.[#4353](https://github.com/pybind/pybind11/issues/4353) <https://github.com/pybind/pybind11/pull/4353>
_Bug fixes:
- Bug fix affecting only Python 3.6 under very specific, uncommon conditions: move
PyEval_InitThreads()
call to the correct location.[#4350](https://github.com/pybind/pybind11/issues/4350) <https://github.com/pybind/pybind11/pull/4350>
_
... (truncated)
Commits
0bd8896
chore: prepare for 2.10.3 (#4437)d78de29
chore(deps): update pre-commit hooks (#4439)9d6a79c
fix: issuses detected by static analyzer (#4440)050de89
ci: remove clang 10 C++20 (it broke recently) (#4438)0abe64c
Fixdetail::obj_class_name()
to work correctly for meta classes. (#4436)e414c4b
fix: improve the error reporting for inc_ref GIL failures (#4427)2de6e39
[v2.10] Revert the addition of the GIL check feature (#4432)0376417
Merge branch 'master' into v2.100694ec6
chore: preapre for 2.10.2 release (#4414)3fd1520
docs: changelog for next version (#4413)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)