clang-format was added to the pre-commit actions, and the entire code base automatically reformatted (after several iterations preparing for this leap). #3713
Enum now has an __index__ method on Python <3.8 too.
[#3700](https://github.com/pybind/pybind11/issues/3700) <https://github.com/pybind/pybind11/pull/3700>_
Local internals are now cleared after finalizing the interpreter.
[#3744](https://github.com/pybind/pybind11/issues/3744) <https://github.com/pybind/pybind11/pull/3744>_
Bug fixes:
Better support for Python 3.11 alphas.
[#3694](https://github.com/pybind/pybind11/issues/3694) <https://github.com/pybind/pybind11/pull/3694>_
PYBIND11_TYPE_CASTER now uses fully qualified symbols, so it can be used
outside of pybind11::detail.
[#3758](https://github.com/pybind/pybind11/issues/3758) <https://github.com/pybind/pybind11/pull/3758>_
Some fixes for PyPy 3.9.
[#3768](https://github.com/pybind/pybind11/issues/3768) <https://github.com/pybind/pybind11/pull/3768>_
Fixed a potential memleak in PyPy in get_type_override.
[#3774](https://github.com/pybind/pybind11/issues/3774) <https://github.com/pybind/pybind11/pull/3774>_
Fix usage of VISIBILITY_INLINES_HIDDEN.
[#3721](https://github.com/pybind/pybind11/issues/3721) <https://github.com/pybind/pybind11/pull/3721>_
Build system improvements:
Uses sysconfig module to determine installation locations on Python >=
3.10, instead of distutils which has been deprecated.
[#3764](https://github.com/pybind/pybind11/issues/3764) <https://github.com/pybind/pybind11/pull/3764>_
Support Catch 2.13.5+ (supporting GLIBC 2.34+).
[#3679](https://github.com/pybind/pybind11/issues/3679) <https://github.com/pybind/pybind11/pull/3679>_
Fix test failures with numpy 1.22 by ignoring whitespace when comparing
str() of dtypes.
[#3682](https://github.com/pybind/pybind11/issues/3682) <https://github.com/pybind/pybind11/pull/3682>_
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 from 2.9.1 to 2.9.2.
Release notes
Sourced from pybind11's releases.
Changelog
Sourced from pybind11's changelog.
... (truncated)
Commits
914c06f
chore: set to version 2.9.25c2b53b
chore: bump changelog for 2.9.2 (#3834)dd617de
fix: missing move in eval.h (#3775)45219c6
fix: potential memory leak in pypy (#3774)6f01c60
Improve Python 3.11 support (#3694)bdec573
Use sysconfig in Python >= 3.10 (#3764)8058962
ci: fix PyPy (#3768)42455b5
fix: clear local internals after finalizing interpreter #2101 (#3744)93d68dd
cast: Qualify symbol usage in PYBIND11_TYPE_CASTER (#3758)5327c19
docs: Correct minor typos (#3721)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)