Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c6f09e1

Browse filesBrowse 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
Copy full SHA for c6f09e1

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎.cirrus.tasks.yml

Copy file name to clipboardExpand all lines: .cirrus.tasks.yml
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.