From 8d692b8c3ae43914ba2e3f907f8c74fada7c4534 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sun, 11 Dec 2022 08:08:12 +0100 Subject: [PATCH 1/2] Fixed install error on Windows with Python 3.8+ Details: * Fixed install error of keyring's dependency pywin32-ctypes on Windows with Python 3.8 and higher, which fails due to using the use_2to3 feature of setuptools, which has been removed in setuptools 58.0.0. Ths fix is to increase the requirements for pywin32-ctypes to >=0.2.0, which no longer uses the use_2to3 feature. Signed-off-by: Andreas Maier --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b61be021..e7db40f2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,7 +19,7 @@ packages = find_namespace: include_package_data = true python_requires = >=3.7 install_requires = - pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform=="win32" + pywin32-ctypes>=0.2.0; sys_platform=="win32" SecretStorage>=3.2; sys_platform=="linux" jeepney>=0.4.2; sys_platform=="linux" importlib_metadata >= 4.11.4; python_version < "3.12" From c948c7f3ab5dbf7762fd18c5e11accfac89fd4b6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 18 Dec 2022 12:02:11 -0500 Subject: [PATCH 2/2] Update changelog --- CHANGES.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 905d2998..8a1a7814 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,9 @@ +v23.12.1 +-------- + +* #612: Prevent installation of ``pywin32-ctypes 0.1.2`` with broken + ``use2to3`` directive. + v23.12.0 --------