chore: prepare for 2.9

This commit is contained in:
Henry Schreiner 2021-12-28 10:47:21 -05:00
parent 89769e6e6d
commit 45f792efdd
No known key found for this signature in database
GPG Key ID: B9D0E45146A241E8
3 changed files with 5 additions and 5 deletions

View File

@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
<http://semver.org>`_ policy. <http://semver.org>`_ policy.
IN DEVELOPMENT Version 2.9.0 (Dec 28, 2021)
-------------- ----------------------------
This is the last version to support Python 2.7 and 3.5. This is the last version to support Python 2.7 and 3.5.

View File

@ -11,11 +11,11 @@
#define PYBIND11_VERSION_MAJOR 2 #define PYBIND11_VERSION_MAJOR 2
#define PYBIND11_VERSION_MINOR 9 #define PYBIND11_VERSION_MINOR 9
#define PYBIND11_VERSION_PATCH 0.dev1 #define PYBIND11_VERSION_PATCH 0
// Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html // Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html
// Additional convention: 0xD = dev // Additional convention: 0xD = dev
#define PYBIND11_VERSION_HEX 0x020900D1 #define PYBIND11_VERSION_HEX 0x02090000
#define PYBIND11_NAMESPACE_BEGIN(name) namespace name { #define PYBIND11_NAMESPACE_BEGIN(name) namespace name {
#define PYBIND11_NAMESPACE_END(name) } #define PYBIND11_NAMESPACE_END(name) }

View File

@ -8,5 +8,5 @@ def _to_int(s):
return s return s
__version__ = "2.9.0.dev1" __version__ = "2.9.0"
version_info = tuple(_to_int(s) for s in __version__.split(".")) version_info = tuple(_to_int(s) for s in __version__.split("."))