This is the last version to support Python 2.7 and 3.5.
New Features:
Allow py::args to be followed by other arguments; the remaining arguments are implicitly keyword-only, as if a py::kw_only{} annotation had been used. #3402
Changes:
Make str/bytes/memoryview more interoperable with std::string_view. #3521
Replace _ with const_name in internals, avoid defining pybind::_ if _ defined as macro (common gettext usage) #3423
Bug fixes:
Fix a rare warning about extra copy in an Eigen constructor. #3486
This is the last version to support Python 2.7 and 3.5.
New Features:
Allow py::args to be followed by other arguments; the remaining arguments
are implicitly keyword-only, as if a py::kw_only{} annotation had been
used.
[#3402](https://github.com/pybind/pybind11/issues/3402) <https://github.com/pybind/pybind11/pull/3402>_
Changes:
Make str/bytes/memoryview more interoperable with std::string_view.
[#3521](https://github.com/pybind/pybind11/issues/3521) <https://github.com/pybind/pybind11/pull/3521>_
Replace _ with const_name in internals, avoid defining pybind::_
if _ defined as macro (common gettext usage)
[#3423](https://github.com/pybind/pybind11/issues/3423) <https://github.com/pybind/pybind11/pull/3423>_
Bug fixes:
Fix a rare warning about extra copy in an Eigen constructor.
[#3486](https://github.com/pybind/pybind11/issues/3486) <https://github.com/pybind/pybind11/pull/3486>_
Fix caching of the C++ overrides.
[#3465](https://github.com/pybind/pybind11/issues/3465) <https://github.com/pybind/pybind11/pull/3465>_
Add missing std::forward calls to some cpp_function overloads.
[#3443](https://github.com/pybind/pybind11/issues/3443) <https://github.com/pybind/pybind11/pull/3443>_
Support PyPy 7.3.7 and the PyPy3.8 beta. Test python-3.11 on PRs with the
python dev label.
[#3419](https://github.com/pybind/pybind11/issues/3419) <https://github.com/pybind/pybind11/pull/3419>_
Replace usage of deprecated Eigen::MappedSparseMatrix with
Eigen::Map<Eigen::SparseMatrix<...>> for Eigen 3.3+.
[#3499](https://github.com/pybind/pybind11/issues/3499) <https://github.com/pybind/pybind11/pull/3499>_
Tweaks to support Microsoft Visual Studio 2022.
[#3497](https://github.com/pybind/pybind11/issues/3497) <https://github.com/pybind/pybind11/pull/3497>_
Build system improvements:
Nicer CMake printout and IDE organisation for pybind11's own tests.
[#3479](https://github.com/pybind/pybind11/issues/3479) <https://github.com/pybind/pybind11/pull/3479>_
CMake: report version type as part of the version string to avoid a spurious
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.8.1 to 2.9.0.
Release notes
Sourced from pybind11's releases.
Changelog
Sourced from pybind11's changelog.
... (truncated)
Commits
45f792e
chore: prepare for 2.989769e6
[pre-commit.ci] pre-commit autoupdate (#3574)cb30230
fix: restore full range of _ functions (#3571)d4b9f34
docs: update changelog (#3556)e50f841
fix: do not use LTS on mips64 and ppc64le (#3557)39fbc79
fix: avoiding usage of _ if already defined (#3423)b3d9c35
vi: replacing currently broken ICC Latest C++17 with C++14. (#3551)d0406c7
[pre-commit.ci] pre-commit autoupdate (#3563)7516811
fix(setup_helpers): ensure ThreadPool is closed (#3548)59aa998
[pre-commit.ci] pre-commit autoupdate (#3533)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)