From aa304c9c7d725ffb9d10af08a3b34cb372307020 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 15 Jul 2022 15:47:47 -0500 Subject: [PATCH] chore: preapre for 2.10.0 release (#4068) Signed-off-by: Henry Schreiner --- include/pybind11/detail/common.h | 4 ++-- pybind11/_version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index e52507a9e..1da323f31 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 10 -#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 0x020A00D1 +#define PYBIND11_VERSION_HEX 0x020A0000 #define PYBIND11_NAMESPACE_BEGIN(name) namespace name { #define PYBIND11_NAMESPACE_END(name) } diff --git a/pybind11/_version.py b/pybind11/_version.py index aee3b1c5b..b78d5963d 100644 --- a/pybind11/_version.py +++ b/pybind11/_version.py @@ -8,5 +8,5 @@ def _to_int(s: str) -> Union[int, str]: return s -__version__ = "2.10.0.dev1" +__version__ = "2.10.0" version_info = tuple(_to_int(s) for s in __version__.split("."))