Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 90677b5

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 022068e commit 90677b5

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
@@ -467,8 +467,11 @@ task:
467467
openssl \
468468
p5.34-io-tty \
469469
p5.34-ipc-run \
470+
python312 \
470471
tcl \
471472
zstd
473+
# system python doesn't provide headers
474+
sudo /opt/local/bin/port select python3 python312
472475
# Make macports install visible for subsequent steps
473476
echo PATH=/opt/local/sbin/:/opt/local/bin/:$PATH >> $CIRRUS_ENV
474477
upload_caches: macports

0 commit comments

Comments
 (0)