git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ffc2aa)
ci: macos: Choose python version
2024年3月25日 20:06:58 +0000 (13:06 -0700)
2024年3月25日 23:39:08 +0000 (16:39 -0700)
The CI base image used to have a python3 with headers etc installed in PATH,
but doesn't anymore. Instead of relying on a specific version in the base
image, explicitly install one ourselves.

On 16 and HEAD this lead to a build without python support, but on 15 CI
failed, due to explicitly enabled python3 support.


diff --git a/.cirrus.tasks.yml b/.cirrus.tasks.yml
index 1adfdfdd4569080ce3d00444e653b4d82e82fac4..72f553e69f4b8489fe7ba34a60373161608eac6e 100644 (file)
--- a/.cirrus.tasks.yml
+++ b/.cirrus.tasks.yml
@@ -471,8 +471,11 @@ task:
openssl \
p5.34-io-tty \
p5.34-ipc-run \
+ python312 \
tcl \
zstd
+ # system python doesn't provide headers
+ sudo /opt/local/bin/port select python3 python312
# Make macports install visible for subsequent steps
echo PATH=/opt/local/sbin/:/opt/local/bin/:$PATH >> $CIRRUS_ENV
upload_caches: macports
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /