Content-Length: 260649 | pFad | http://github.com/postgrespro/postgres/commit/c6f09e188bbc5df8fd96682ba19e96f19d137eb2

C6 ci: macos: Choose python version · postgrespro/postgres@c6f09e1 · GitHub
Skip to content

Commit c6f09e1

Browse files
committed
ci: macos: Choose python version
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.
1 parent 8ffc2aa commit c6f09e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cirrus.tasks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,11 @@ task:
471471
openssl \
472472
p5.34-io-tty \
473473
p5.34-ipc-run \
474+
python312 \
474475
tcl \
475476
zstd
477+
# system python doesn't provide headers
478+
sudo /opt/local/bin/port select python3 python312
476479
# Make macports install visible for subsequent steps
477480
echo PATH=/opt/local/sbin/:/opt/local/bin/:$PATH >> $CIRRUS_ENV
478481
upload_caches: macports

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c6f09e188bbc5df8fd96682ba19e96f19d137eb2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy