From 5343f04aecb5e2d02b1f6a76cdff866b916f511a Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sun, 11 Dec 2022 08:08:12 +0100 Subject: [PATCH] Fixed install error on Windows with Pyhton 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"