Skip to content

Bump pybind11 from 2.10.0 to 2.10.2#8

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pybind11-2.10.2
Closed

Bump pybind11 from 2.10.0 to 2.10.2#8
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pybind11-2.10.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Dec 21, 2022

Bumps pybind11 from 2.10.0 to 2.10.2.

Release notes

Sourced from pybind11's releases.

Version 2.10.2

Changes:

  • scoped_interpreter constructor taking PyConfig. #4372
  • pybind11/eigen/tensor.h adds converters to and from Eigen::Tensor and Eigen::TensorMap #4201
  • PyGILState_Check()'s were integrated to pybind11::handle inc_ref() & dec_ref(). The added GIL checks are guarded by PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF, which is the default only if NDEBUG is not defined. #4246
  • Add option for enable/disable enum members in docstring. #2768
  • Fixed typing of KeysView, ValuesView and ItemsView in bind_map. #4353

Bug 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). #4401
  • multiprocessing_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. #4221
  • embed.h was changed so that PYTHONPATH 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 in test_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. #4216
  • PYBIND11_EXPORT_EXCEPTION was made non-empty only under macOS. This makes Linux builds safer, and enables the removal of warning suppression pragmas for Windows. #4298

Bug fixes:

  • Fixed a bug where UnicodeDecodeError was not propagated from various py::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
  • Fix MSVC 2019 v.1924 & C++14 mode error for overload_cast. #4188
  • Make augmented assignment operators non-const for the object-api. Behavior was previously broken for augmented assignment operators. #4065
  • Add proper error checking to C++ bindings for Python list append and insert. #4208
  • Work-around for Nvidia's CUDA nvcc compiler in versions 11.4.0 - 11.8.0. #4220
  • A workaround for PyPy was added in the py::error_already_set implementation, related to PR #1895 released with v2.10.0. #4079
  • Fixed compiler errors when C++23 std::forward_like is available. #4136
  • Properly raise exceptions in contains methods (like when an object in unhashable). #4209
  • Further improve another error in exception handling. #4232
  • get_local_internals() was made compatible with finalize_interpreter(), fixing potential freezes during interpreter finalization. #4192

... (truncated)

Changelog

Sourced from pybind11's changelog.

Version 2.10.2 (Dec 20, 2022)

Changes:

  • scoped_interpreter constructor taking PyConfig. [#4330](https://github.com/pybind/pybind11/issues/4330) <https://github.com/pybind/pybind11/pull/4330>_

  • pybind11/eigen/tensor.h adds converters to and from Eigen::Tensor and Eigen::TensorMap. [#4201](https://github.com/pybind/pybind11/issues/4201) <https://github.com/pybind/pybind11/pull/4201>_

  • PyGILState_Check()'s were integrated to pybind11::handle inc_ref() & dec_ref(). The added GIL checks are guarded by PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF, which is the default only if NDEBUG is not defined. [#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 and ItemsView in bind_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>_

  • Fix segfault bug when passing foreign native functions to functional.h. [#4254](https://github.com/pybind/pybind11/issues/4254) <https://github.com/pybind/pybind11/pull/4254>_

Build system improvements:

  • Support setting PYTHON_LIBRARIES manually for Windows ARM cross-compilation (classic mode). [#4406](https://github.com/pybind/pybind11/issues/4406) <https://github.com/pybind/pybind11/pull/4406>_

  • Extend IPO/LTO detection for ICX (a.k.a IntelLLVM) compiler. [#4402](https://github.com/pybind/pybind11/issues/4402) <https://github.com/pybind/pybind11/pull/4402>_

  • Allow calling find_package(pybind11 CONFIG) multiple times from separate directories in the same CMake project and properly link Python (new mode). [#4401](https://github.com/pybind/pybind11/issues/4401) <https://github.com/pybind/pybind11/pull/4401>_

  • multiprocessing_set_spawn in pytest fixture for added safety. [#4377](https://github.com/pybind/pybind11/issues/4377) <https://github.com/pybind/pybind11/pull/4377>_

  • Fixed a bug in two pybind11/tools cmake scripts causing "Unknown arguments specified" errors.

... (truncated)

Commits
  • 0694ec6 chore: preapre for 2.10.2 release (#4414)
  • 3fd1520 docs: changelog for next version (#4413)
  • ee4b9f5 Fix ODR violations in our Eigen Tensor tests (#4412)
  • a97c4d2 fix(cmake): support Windows ARM cross-compilation (#4406)
  • 09db644 IPO/LTO support for ICX (IntelLLVM) compiler (#4402)
  • ece1206 ci: set env: VERBOSE: 1 (#4405)
  • 89c3561 Fix multi-context new Python linking mode (#4401)
  • ff42f52 Systematically add -DCMAKE_VERBOSE_MAKEFILE=ON to obtain full command lines...
  • 9727dcd chore: future safe bugbear opinionated warnings (#4393)
  • 663b86c Add flake8 B905 to extend-ignore in setup.cfg (#4391)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [pybind11](https://github.com/pybind/pybind11) from 2.10.0 to 2.10.2.
- [Release notes](https://github.com/pybind/pybind11/releases)
- [Changelog](https://github.com/pybind/pybind11/blob/master/docs/changelog.rst)
- [Commits](pybind/pybind11@v2.10.0...v2.10.2)

---
updated-dependencies:
- dependency-name: pybind11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 21, 2022
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Jan 3, 2023

Superseded by #11.

@dependabot dependabot Bot closed this Jan 3, 2023
@dependabot dependabot Bot deleted the dependabot/pip/pybind11-2.10.2 branch January 3, 2023 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants