From 4886d874fc535653b5f2ae765440c61019819bcd Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 19 Jun 2024 14:29:39 -0700 Subject: [PATCH] Change Python version guard: PYTHON < 3.7 IS UNSUPPORTED. --- include/pybind11/detail/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index f0f3c50d3..19304f8c3 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -273,8 +273,8 @@ PYBIND11_WARNING_DISABLE_MSVC(4505) #include // Reminder: WITH_THREAD is always defined if PY_VERSION_HEX >= 0x03070000 -#if PY_VERSION_HEX < 0x03060000 -# error "PYTHON < 3.6 IS UNSUPPORTED. pybind11 v2.9 was the last to support Python 2 and 3.5." +#if PY_VERSION_HEX < 0x03070000 +# error "PYTHON < 3.7 IS UNSUPPORTED. pybind11 v2.12 was the last to support Python 3.6." #endif #include #include