diff --git a/env.ps1 b/env.ps1 index e4d2c92..7f20b01 100644 --- a/env.ps1 +++ b/env.ps1 @@ -1,11 +1,11 @@ $MD = "PES" $VCREDIST_REF = "https://aka.ms/vs/17/release/vc_redist.x64.exe" $ETCD_REF = "https://github.com/etcd-io/etcd/releases/download/v3.5.18/etcd-v3.5.18-windows-amd64.zip" -$PATRONI_REF = "https://github.com/patroni/patroni/archive/refs/tags/v4.0.5.zip" +$PATRONI_REF = "https://github.com/cybertec-postgresql/patroni/archive/refs/heads/ctl-switchover.zip" $MICRO_REF = "https://github.com/zyedidia/micro/releases/download/v2.0.14/micro-2.0.14-win64.zip" $WINSW_REF = "https://github.com/winsw/winsw/releases/download/v2.12.0/WinSW.NET461.exe" $VIP_REF = "https://github.com/cybertec-postgresql/vip-manager/releases/download/v3.0.0/vip-manager_3.0.0_Windows_x86_64.zip" -$PGSQL_REF = "https://get.enterprisedb.com/postgresql/postgresql-17.4-1-windows-x64-binaries.zip" +$PGSQL_REF = "https://get.enterprisedb.com/postgresql/postgresql-15.12-1-windows-x64-binaries.zip" $PYTHON_REF = "https://www.python.org/ftp/python/3.13.2/python-3.13.2-amd64.exe" # one should change python version in github action workflows when changed here diff --git a/make.ps1 b/make.ps1 index d520f70..9ae22fd 100644 --- a/make.ps1 +++ b/make.ps1 @@ -102,7 +102,7 @@ function Get-PatroniPackages { Write-Host "`n--- Download PATRONI packages ---" -ForegroundColor blue Set-Location "$MD\patroni" & $PIP download -r requirements.txt -d .patroni-packages - & $PIP download pip pip_install setuptools wheel cdiff psycopg -d .patroni-packages + & $PIP download pip pip_install setuptools wheel cdiff psycopg psycopg-binary -d .patroni-packages Set-Location -Path "..\.." Write-Host "`n--- PATRONI packages downloaded ---" -ForegroundColor green } diff --git a/src/install.ps1 b/src/install.ps1 index cdd04d9..c86b029 100644 --- a/src/install.ps1 +++ b/src/install.ps1 @@ -21,7 +21,7 @@ Write-Host "--- Python runtime installed ---`n" -ForegroundColor green Write-Host "--- Installing Patroni packages ---" -ForegroundColor blue pip3.exe install --no-index --find-links .patroni-packages -r requirements.txt -pip3.exe install --no-index --find-links .patroni-packages psycopg +pip3.exe install --no-index --find-links .patroni-packages psycopg psycopg-binary pip3.exe install --no-index --find-links .patroni-packages cdiff Set-Location '..' Write-Host "--- Patroni packages installed ---`n" -ForegroundColor green