From 45f792efdd92da094548e2095d6efdbfa7e536ee Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 28 Dec 2021 10:47:21 -0500 Subject: [PATCH] chore: prepare for 2.9 --- docs/changelog.rst | 4 ++-- include/pybind11/detail/common.h | 4 ++-- pybind11/_version.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 87fce2f2bd..cc3f70efb7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,8 +7,8 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning `_ policy. -IN DEVELOPMENT --------------- +Version 2.9.0 (Dec 28, 2021) +---------------------------- This is the last version to support Python 2.7 and 3.5. diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index 2d57367d0d..b08bbc5590 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -11,11 +11,11 @@ #define PYBIND11_VERSION_MAJOR 2 #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 // Additional convention: 0xD = dev -#define PYBIND11_VERSION_HEX 0x020900D1 +#define PYBIND11_VERSION_HEX 0x02090000 #define PYBIND11_NAMESPACE_BEGIN(name) namespace name { #define PYBIND11_NAMESPACE_END(name) } diff --git a/pybind11/_version.py b/pybind11/_version.py index ce894a7740..6627d4c7e6 100644 --- a/pybind11/_version.py +++ b/pybind11/_version.py @@ -8,5 +8,5 @@ def _to_int(s): return s -__version__ = "2.9.0.dev1" +__version__ = "2.9.0" version_info = tuple(_to_int(s) for s in __version__.split("."))