Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Bump pybind11 from 2.12.0 to 3.0.2#466

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/pybind11-3.0.2
Open

Bump pybind11 from 2.12.0 to 3.0.2#466
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/pybind11-3.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2026

Bumps pybind11 from 2.12.0 to 3.0.2.

Release notes

Sourced from pybind11's releases.

Version 3.0.2

New Features:

  • Added helper functions to py::array that return shape and strides as std::span when available. #5974

Bug fixes:

  • Added fallback locking for Python 3.13t where PyCriticalSection_BeginMutex is unavailable. #5981

  • Fixed race condition in py::make_key_iterator with free-threaded Python. #5971

  • MSVC 19.16 and earlier were blocked from using std::launder due to internal compiler errors. #5968

  • Internals destructors were updated to check the owning interpreter before clearing Python objects. #5965

  • Internals shutdown handling was refined in two iterations before release: an initial finalization-time cleanup was followed by a safety adjustment to avoid late-shutdown py::cast segfaults. #5958 #5972

  • Fixed ambiguous str(handle) construction for object-derived types like kwargs or dict by templatizing the constructor with SFINAE. #5949

  • Fixed concurrency consistency for internals_pp_manager under multiple-interpreters. #5947

  • Fixed MSVC LNK2001 in C++20 builds when /GL (whole program optimization) is enabled. #5939

  • Added per-interpreter storage for gil_safe_call_once_and_store to make it safe under multi-interpreters. #5933

  • A workaround for a GCC -Warray-bounds false positive in argument_vector was added. #5908

  • Corrected a mistake where support for __index__ was added, but the type hints did not reflect acceptance of SupportsIndex objects. Also fixed a long-standing bug: the complex-caster did not accept __index__ in convert mode. #5891

  • Fixed *args/**kwargs return types. Added type hinting to py::make_tuple. #5881

  • Fixed compiler error in type_caster_generic when casting a T implicitly convertible from T*. #5873

  • Updated py::native_enum bindings to unregister enum types on destruction, preventing a use-after-free when returning a destroyed enum instance. #5871

... (truncated)

Changelog

Sourced from pybind11's changelog.

Version 3.0.2 (February 16, 2026)

New Features:

  • Added helper functions to py::array that return shape and strides as std::span when available. #5974

Bug fixes:

  • Added fallback locking for Python 3.13t where PyCriticalSection_BeginMutex is unavailable. #5981

  • Fixed race condition in py::make_key_iterator with free-threaded Python. #5971

  • MSVC 19.16 and earlier were blocked from using std::launder due to internal compiler errors. #5968

  • Internals destructors were updated to check the owning interpreter before clearing Python objects. #5965

  • Internals shutdown handling was refined in two iterations before release: an initial finalization-time cleanup was followed by a safety adjustment to avoid late-shutdown py::cast segfaults. #5958 #5972

  • Fixed ambiguous str(handle) construction for object-derived types like kwargs or dict by templatizing the constructor with SFINAE. #5949

  • Fixed concurrency consistency for internals_pp_manager under multiple-interpreters. #5947

  • Fixed MSVC LNK2001 in C++20 builds when /GL (whole program optimization) is enabled. #5939

  • Added per-interpreter storage for gil_safe_call_once_and_store to make it safe under multi-interpreters. #5933

  • A workaround for a GCC -Warray-bounds false positive in argument_vector was added. #5908

  • Corrected a mistake where support for __index__ was added, but the type hints did not reflect acceptance of SupportsIndex objects. Also fixed a long-standing bug: the complex-caster did not accept __index__ in convert mode. #5891

  • Fixed *args/**kwargs return types. Added type hinting to py::make_tuple. #5881

  • Fixed compiler error in type_caster_generic when casting a T implicitly convertible from T*. #5873

  • Updated py::native_enum bindings to unregister enum types on destruction, preventing a use-after-free when returning a destroyed enum instance.

... (truncated)

Commits
  • 45fab40 Update version number to v3.0.2 (final) and set release date in changelog.md ...
  • 44a0cd2 [ci skip] docs/changelog.md updates for 3.0.2, to account for 5 additional PR...
  • 3ae5a17 Add fallback implementation of PyCriticalSection_BeginMutex for Python 3.13...
  • 5f2c678 Add helpers to array that return the size and strides as a std::span (#5974)
  • 8f68ecd chore(deps): update pre-commit hooks (#5982)
  • 4d7d02a Fix race condition with py::make_key_iterator in free threading (#5971)
  • e7754de Revert internals destruction and add test for internals recreation (#5972)
  • 0080cae chore(deps): bump jwlawson/actions-setup-cmake in the actions group (#5978)
  • 95d4af7 Fix CI issue: numpy requirement for Python 3.14 on ARM64 Windows (#5977)
  • 4f81a12 Fix deadlock in test with free threading (#5973)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.12.0 to 3.0.2.
- [Release notes](https://github.com/pybind/pybind11/releases)
- [Changelog](https://github.com/pybind/pybind11/blob/master/docs/changelog.md)
- [Commits](pybind/pybind11@v2.12.0...v3.0.2)

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

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 Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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