diff --git a/CHANGES.txt b/CHANGES.txt index 7527579995..7fe29bddd1 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) * Pythonwin: Bumped Scintilla from 1.77 to 4.4.6. The full changelog can be found here: https://www.scintilla.org/ScintillaHistory.html * Fixed `ddeclient` and `ddeserver` demos import error (#2290, @Avasam) * The `EvtSubscribe_push` demo now actually demonstrates the callback action and the event context being filled. (#2281, @Avasam) diff --git a/setup.py b/setup.py index 0a657a4f88..b463cc1193 100644 --- a/setup.py +++ b/setup.py @@ -372,7 +372,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(