From d08a76b08bcc95b05399a7d362e2548ec3858815 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 15 Jan 2021 10:18:47 +0100 Subject: [PATCH] build windows wheels on windows-2016 which has vs2017 instead of vs2019 vs2019-build wheels appear to be incompatible with older Windows due to missing dependencies --- .github/workflows/wheels.yml | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 41f2f4bb4..ebe68081e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -90,12 +90,12 @@ jobs: build: "cp38* cp39*" manylinux_image: manylinux2010 - - os: windows-2019 + - os: windows-2016 name: win32 cibw: build: "*win32" - - os: windows-2019 + - os: windows-2016 name: win_amd64 cibw: build: "*win_amd64" diff --git a/setup.py b/setup.py index df13f185c..22f582dca 100755 --- a/setup.py +++ b/setup.py @@ -685,7 +685,7 @@ def bundle_libzmq_extension(self): vcruntime = vcvars["py_vcruntime_redist"] except KeyError: warn(f"platform={get_platform()}, vcvars=") - pprint.pprint(vcvars, stream=sys.stderr) + pprint(vcvars, stream=sys.stderr) # fatal error if env set, warn otherwise msg = fatal if os.environ.get("PYZMQ_BUNDLE_CRT") else warn