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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy