diff --git a/pip/requirements.in b/pip/requirements.in index 018127927..5e129cce6 100644 --- a/pip/requirements.in +++ b/pip/requirements.in @@ -26,9 +26,7 @@ fluent.syntax # windows only psutil; sys.platform == "win32" pywin32; sys.platform == "win32" -# pinned due to https://github.com/microsoft/xlang/issues/717 -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" +winrt; 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 cbcf1aee2..574b29ff3 100644 --- a/pip/requirements.txt +++ b/pip/requirements.txt @@ -148,7 +148,7 @@ 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" and python_version == "3.8" +winrt==1.0.21033.1 ; sys_platform == "win32" and platform_release == "10" # via -r requirements.in wrapt==1.12.1 # via astroid @@ -158,6 +158,3 @@ pip==21.0.1 # via pip-tools setuptools==53.0.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" diff --git a/pip/update.py b/pip/update.py index cffc5128a..a74e710ec 100644 --- a/pip/update.py +++ b/pip/update.py @@ -15,19 +15,4 @@ print("Updating deps...") os.chdir("pip") sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"] - -def after_run(): - with open("requirements.txt", "a+") as file: - file.write( - """ -# 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" -""" - ) - - -import atexit - -atexit.register(after_run) - cli()