summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst1
-rw-r--r--setup.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 793dbabe..70913d59 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -10,6 +10,7 @@ v18.6.1
-- by :user:`webknjaz`.
* :issue:`1920`: Bumped minimum version of PyWin32 to 227.
+ Block pywin32 install on Python 3.10 and later.
v18.6.0
-------
diff --git a/setup.py b/setup.py
index d1fb7c38..27b16c08 100644
--- a/setup.py
+++ b/setup.py
@@ -102,7 +102,9 @@ params = dict(
'xcgi': ['flup'],
# https://docs.cherrypy.org/en/latest/advanced.html?highlight=windows#windows-console-events
- ':sys_platform == "win32" and implementation_name == "cpython"': [
+ ':sys_platform == "win32" and implementation_name == "cpython"'
+ # pywin32 disabled while a build is unavailable. Ref #1920.
+ ' and python_version < "3.10"': [
'pywin32 >= 227',
],
},