From bf12882c282b0db72f5ee5928916eea8019deae9 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 30 Jun 2021 01:31:12 +0100 Subject: [PATCH] Disable building Windows packages. --- .github/workflows/packages.yml | 4 ++++ tools/build/wheel_windows_before_all.ps1 | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 8e1d841d7..5ae0b4910 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -96,6 +96,10 @@ jobs: windows: name: Build Windows packages runs-on: windows-2019 + # TODO: Currently disabled: not completed yet. See the + # wheel_windows_before_all script. + if: false + strategy: matrix: pyver: [cp36, cp37, cp38, cp39] diff --git a/tools/build/wheel_windows_before_all.ps1 b/tools/build/wheel_windows_before_all.ps1 index eb9b88705..e93ab3862 100755 --- a/tools/build/wheel_windows_before_all.ps1 +++ b/tools/build/wheel_windows_before_all.ps1 @@ -3,6 +3,11 @@ # Configure the environment needed to build wheel packages on Windows. # This script is designed to be used by cibuildwheel as CIBW_BEFORE_ALL_WINDOWS +# The script is currently incomplete. The image seems to have postgres +# installed but without libpq.lib, so installation fails. This is an incomplete +# attempt to download the binary package (which is 235MB and takes forever) +# and use it for building. + # Set-PSDebug -Trace 1 python -c "import os; print(os.environ['PATH'])" -- 2.47.3