Skip to content

Commit

Permalink
ci/msys2: switch to Python 3.11 to fix crashes during build
Browse files Browse the repository at this point in the history
There is a long-standing bug with random crashes of Python 3.10 on CI.

See:
python/cpython#105400
msys2/MINGW-packages#11864
msys2/MINGW-packages#17415
  • Loading branch information
kasper93 committed Jun 25, 2023
1 parent 945d7c1 commit 5d2a2fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
meson:p
ninja:p
pkgconf:p
python:p
python3.11:p
rst2pdf:p
rubberband:p
shaderc:p
Expand Down
1 change: 1 addition & 0 deletions ci/build-msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if [ "$1" = "meson" ]; then
meson setup build \
--native-file=ci/msys2-meson.txt \
-D cdda=enabled \
-D d3d-hwaccel=enabled \
-D d3d11=enabled \
Expand Down
2 changes: 2 additions & 0 deletions ci/msys2-meson.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[binaries]
python3 = 'python3.11'

0 comments on commit 5d2a2fb

Please sign in to comment.