mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
winrt 1.0.20239.1 isn't available for python 3.9
This commit is contained in:
parent
9f1bd14527
commit
38614ab047
3 changed files with 9 additions and 5 deletions
|
@ -26,8 +26,8 @@ fluent-syntax
|
|||
psutil; sys.platform == "win32"
|
||||
pywin32; sys.platform == "win32"
|
||||
# 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"
|
||||
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"
|
||||
|
||||
# transitive windows dependencies
|
||||
atomicwrites; sys.platform == "win32" # via pytest
|
||||
|
|
|
@ -55,9 +55,12 @@ typing-extensions==3.7.4.3 # via black, mypy
|
|||
urllib3==1.26.2 # via requests
|
||||
waitress==2.0.0b1 # via -r requirements.in
|
||||
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
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
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"
|
||||
|
|
|
@ -113,7 +113,8 @@ py_wheel(
|
|||
"pyqtwebengine",
|
||||
'psutil; 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,
|
||||
],
|
||||
strip_path_prefixes = [
|
||||
|
|
Loading…
Reference in a new issue