From 2ca04b77dbe1ea50a422fcefeda22fa756be754c Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 18 Jun 2023 19:18:09 +0200 Subject: [PATCH] ops: fix broken build on Windows amd64 --- tools/build/wheel_win32_before_build.bat | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/tools/build/wheel_win32_before_build.bat b/tools/build/wheel_win32_before_build.bat index fd35f5d3a..7c18fe3b7 100644 --- a/tools/build/wheel_win32_before_build.bat +++ b/tools/build/wheel_win32_before_build.bat @@ -1,3 +1,23 @@ @echo on pip install delvewheel -choco upgrade postgresql + +REM I really want to write "REM", like when I had a C=64 +REM (I am joking of course: I never wrote a comment when I had a C=64) + +REM Broken since 2023-05-21, Failing with the error: +REM +REM postgresql (exited 1) - postgresql not installed. An error occurred during +REM installation: Unable to resolve dependency 'postgresql15 (= 15.3)'. +REM +REM Weeks later the error changed: +REM +REM Unable to resolve dependency 'postgresql15': Unable to resolve +REM dependencies. REM 'postgresql15 15.0.1' is not compatible with +REM 'postgresql 15.3.0 constraint: postgresql15 (= 15.3.0)'. +REM +REM choco upgrade postgresql + +REM On https://community.chocolatey.org/packages/postgresql15/15.0.1#discussion +REM I found the following command in a comment: +choco install postgresql15 --version 15.0.1 +REM which I'm going to randomly try. -- 2.47.3