winrt 1.0.20239.1 isn't available for python 3.9

This commit is contained in:
Damien Elmes 2020-12-23 20:27:31 +10:00
parent 9f1bd14527
commit 38614ab047
3 changed files with 9 additions and 5 deletions

View file

@ -26,8 +26,8 @@ fluent-syntax
psutil; sys.platform == "win32" psutil; sys.platform == "win32"
pywin32; sys.platform == "win32" pywin32; sys.platform == "win32"
# pinned due to https://github.com/microsoft/xlang/issues/717 # pinned due to https://github.com/microsoft/xlang/issues/717
# the latest version apparently works on python3.9 winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" and python_version == "3.8"
winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" winrt; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
# transitive windows dependencies # transitive windows dependencies
atomicwrites; sys.platform == "win32" # via pytest atomicwrites; sys.platform == "win32" # via pytest

View file

@ -55,9 +55,12 @@ typing-extensions==3.7.4.3 # via black, mypy
urllib3==1.26.2 # via requests urllib3==1.26.2 # via requests
waitress==2.0.0b1 # via -r requirements.in waitress==2.0.0b1 # via -r requirements.in
werkzeug==1.0.1 # via flask werkzeug==1.0.1 # via flask
winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10" # via -r requirements.in winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10" and python_version == "3.8" # via -r requirements.in
wrapt==1.12.1 # via astroid wrapt==1.12.1 # via astroid
# The following packages are considered to be unsafe in a requirements file: # The following packages are considered to be unsafe in a requirements file:
pip==20.3.3 # via pip-tools pip==20.3.3 # via pip-tools
setuptools==51.1.0.post20201221 # via jsonschema setuptools==51.1.0 # via jsonschema
# manually added for now; ensure it and the earlier winrt are not removed on update
winrt==1.0.20330.1; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"

View file

@ -113,7 +113,8 @@ py_wheel(
"pyqtwebengine", "pyqtwebengine",
'psutil; sys.platform == "win32"', 'psutil; sys.platform == "win32"',
'pywin32; sys.platform == "win32"', 'pywin32; sys.platform == "win32"',
'winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10"', 'winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" and python_version == "3.8"',
'winrt; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"',
"anki==" + anki_version, "anki==" + anki_version,
], ],
strip_path_prefixes = [ strip_path_prefixes = [