From 69821787906907bb01813395154cd4ec28e486a2 Mon Sep 17 00:00:00 2001 From: Erik van den Brink Date: Tue, 17 May 2022 14:16:11 +0200 Subject: [PATCH] Upgrade PYBIND11 2.8.1 -> 2.9.2 --- bindings/python/CMakeLists.txt | 2 +- bindings/python/python-bindings.cpp | 2 +- setup.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt index 9daf18c..9623255 100644 --- a/bindings/python/CMakeLists.txt +++ b/bindings/python/CMakeLists.txt @@ -5,7 +5,7 @@ if (NOT pybind11_FOUND) FetchContent_Declare( pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11.git - GIT_TAG v2.8.1 + GIT_TAG v2.9.2 ) FetchContent_MakeAvailable(pybind11) endif() diff --git a/bindings/python/python-bindings.cpp b/bindings/python/python-bindings.cpp index 84958c1..2f6ae73 100644 --- a/bindings/python/python-bindings.cpp +++ b/bindings/python/python-bindings.cpp @@ -67,7 +67,7 @@ py::int_ to_py_int(const BigInteger& value, bool is_signed = true, bool is_bigen return py::reinterpret_steal(obj); } -static constexpr auto VERSION_BINDINGS = "1.2.6"; +static constexpr auto VERSION_BINDINGS = "1.2.7"; PYBIND11_MODULE(pybiginteger, m) { m.doc() = "A C++ port of the C# BigInteger class"; diff --git a/setup.py b/setup.py index 1d894cf..1ab1039 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,6 @@ def build_extension(self, ext): author='Erik van den Brink (ixje), merl111', author_email='erik@coz.io', name='pybiginteger', - python_requires='>=3.8.*,<3.10', description="C++ port of the C# BigInteger class", long_description=readme, long_description_content_type="text/markdown",