diff --git a/CHANGES.txt b/CHANGES.txt index 82cf59213..3e9a6ad84 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -14,6 +14,7 @@ https://mhammond.github.io/pywin32_installers.html. Coming in build 309, as yet unreleased -------------------------------------- +* Restored axdebug builds on Python 3.10 (#2416, @Avasam) * Dropped support for Python 3.7 (#2207, @Avasam) * Implement the creation of SAFEARRAY(VT_RECORD) from a sequence of COM Records (#2317, @geppi) * Implement record pointers as [in, out] method parameters of a Dispatch Interface (#2304, #2310, @geppi) diff --git a/setup.py b/setup.py index e72edf0ad..3576dbd04 100644 --- a/setup.py +++ b/setup.py @@ -381,7 +381,7 @@ def _why_cant_build_extension(self, ext): # axdebug fails to build on 3.11 due to Python "frame" objects changing. # This could be fixed, but is almost certainly not in use any more, so # just skip it. - if ext.name == "axdebug" and sys.version_info > (3, 10): + if ext.name == "axdebug" and sys.version_info >= (3, 11): return "AXDebug no longer builds on 3.11 and up" include_dirs = self.compiler.include_dirs + os.environ.get("INCLUDE", "").split(