From 95d943ae0ebdf609bbd650d119fda539509929b6 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 13 Sep 2024 15:13:26 -0700 Subject: [PATCH] Increment `PYBIND11_VERSION_PATCH` QA: ``` $ nox -s tests_packaging nox > Running session tests_packaging nox > Creating virtual environment (virtualenv) using python3 in .nox/tests_packaging nox > python -m pip install -r tests/requirements.txt --prefer-binary nox > pytest tests/extra_python_package =========================================================== test session starts ============================================================ platform darwin -- Python 3.10.2, pytest-7.0.0, pluggy-1.5.0 rootdir: /Users/rgrossekunst/forked/pybind11/tests/extra_python_package, configfile: pytest.ini plugins: timeout-2.3.1 collected 4 items tests/extra_python_package/test_files.py .... [100%] ============================================================ 4 passed in 33.98s ============================================================ nox > Session tests_packaging was successful. ``` --- 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 31a54c773..c33322474 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 11 -#define PYBIND11_VERSION_PATCH 1 +#define PYBIND11_VERSION_PATCH 2 // Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html // Additional convention: 0xD = dev -#define PYBIND11_VERSION_HEX 0x020B0100 +#define PYBIND11_VERSION_HEX 0x020B0200 // Define some generic pybind11 helper macros for warning management. // diff --git a/pybind11/_version.py b/pybind11/_version.py index 9280fa054..fd0e442b3 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.11.1" +__version__ = "2.11.2" version_info = tuple(_to_int(s) for s in __version__.split("."))