From e72def55a92d74c2b70a93ed81de5abbea7e24cb Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Thu, 11 Sep 2025 07:16:52 +0000 Subject: [PATCH] Remove moronic pybind forcing expectation of python release builds --- .../pybind11/conduit/wrap_include_python_h.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/thirdparty/pybind11/include/pybind11/conduit/wrap_include_python_h.h b/thirdparty/pybind11/include/pybind11/conduit/wrap_include_python_h.h index 713dc4bb6a..0d0a112908 100644 --- a/thirdparty/pybind11/include/pybind11/conduit/wrap_include_python_h.h +++ b/thirdparty/pybind11/include/pybind11/conduit/wrap_include_python_h.h @@ -15,20 +15,6 @@ // To maximize reusability: // DO NOT ADD CODE THAT REQUIRES C++ EXCEPTION HANDLING. -// Disable linking to pythonX_d.lib on Windows in debug mode. -#if defined(_MSC_VER) && defined(_DEBUG) && !defined(Py_DEBUG) -// Workaround for a VS 2022 issue. -// See https://github.com/pybind/pybind11/pull/3497 for full context. -// NOTE: This workaround knowingly violates the Python.h include order -// requirement (see above). -# include -# if _MSVC_STL_VERSION >= 143 -# include -# endif -# define PYBIND11_DEBUG_MARKER -# undef _DEBUG -#endif - // Don't let Python.h #define (v)snprintf as macro because they are implemented // properly in Visual Studio since 2015. #if defined(_MSC_VER)