From 925879a8b0db55e7b9d88322305ff57002d0f026 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Mon, 7 Dec 2020 10:23:07 -0800 Subject: [PATCH] Remove python 3.8 Windows GPU build from python packaging pipeline (#6054) Revert the last a few changes to get the pipeline back to a normal state. --- onnxruntime/python/_pybind_state.py | 4 ++-- .../github/azure-pipelines/templates/py-packaging-stage.yml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/onnxruntime/python/_pybind_state.py b/onnxruntime/python/_pybind_state.py index 86a24f189566e..e4f8ec4e97a2e 100644 --- a/onnxruntime/python/_pybind_state.py +++ b/onnxruntime/python/_pybind_state.py @@ -21,6 +21,6 @@ # TODO: Add a guard against False Positive error message # As a proxy for checking if the 2019 VC Runtime is installed, # we look for a specific dll only shipped with the 2019 VC Runtime - if platform.system() == "Windows" and not os.path.isfile("C:\\Windows\\System32\\vcruntime140_1.dll"): + if platform.system().lower() == 'windows' and not os.path.isfile('c:\\Windows\\System32\\vcruntime140_1.dll'): warnings.warn("Unless you have built the wheel using VS 2017, " - "please install the 2019 Visual C++ runtime and then try again.") + "please install the 2019 Visual C++ runtime and then try again") diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml index f554b7e5bb1bf..453455188929d 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-stage.yml @@ -625,10 +625,6 @@ stages: PythonVersion: '3.6' Python37: PythonVersion: '3.7' - Python38: - PythonVersion: '3.8' - Python39: - PythonVersion: '3.9' steps: - checkout: self clean: true