From 165007180abcdf83bff3aa31e76abc34ce752450 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 20 Dec 2020 10:54:51 +1000 Subject: [PATCH] add winrt for TTS work https://github.com/ankitects/anki/pull/855 Also update psutil version --- pip/requirements.in | 1 + pip/requirements.txt | 3 ++- qt/aqt/BUILD.bazel | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pip/requirements.in b/pip/requirements.in index aeb852182..d66356a2e 100644 --- a/pip/requirements.in +++ b/pip/requirements.in @@ -25,6 +25,7 @@ fluent-syntax # windows only psutil; sys.platform == "win32" pywin32; sys.platform == "win32" +winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" # transitive windows dependencies atomicwrites; sys.platform == "win32" # via pytest diff --git a/pip/requirements.txt b/pip/requirements.txt index bff2336d8..e0efec0de 100644 --- a/pip/requirements.txt +++ b/pip/requirements.txt @@ -35,7 +35,7 @@ pathspec==0.8.1 # via black pip-tools==5.4.0 # via -r requirements.in pluggy==0.13.1 # via pytest protobuf==3.14.0 # via -r requirements.in, mypy-protobuf -psutil==5.7.3 ; sys_platform == "win32" # via -r requirements.in +psutil==5.8.0 ; sys_platform == "win32" # via -r requirements.in py==1.10.0 # via pytest pylint==2.6.0 # via -r requirements.in pyparsing==2.4.7 # via packaging @@ -57,6 +57,7 @@ typing-extensions==3.7.4.3 # via black, mypy urllib3==1.26.2 # via requests waitress==1.4.4 # 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 wrapt==1.12.1 # via astroid # The following packages are considered to be unsafe in a requirements file: diff --git a/qt/aqt/BUILD.bazel b/qt/aqt/BUILD.bazel index 42836be2e..246cb97c1 100644 --- a/qt/aqt/BUILD.bazel +++ b/qt/aqt/BUILD.bazel @@ -57,6 +57,7 @@ aqt_deps = [ "@bazel_tools//src/conditions:host_windows": [ requirement("psutil"), requirement("pywin32"), + requirement("winrt"), ], "//conditions:default": [], }) @@ -112,6 +113,7 @@ py_wheel( "pyqtwebengine", 'psutil; sys.platform == "win32"', 'pywin32; sys.platform == "win32"', + 'winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10"', "anki==" + anki_version, ], strip_path_prefixes = [