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 longstanding 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 78285e9 commit 83ffb5d
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
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
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
@@ -0,0 +1,2 @@
[binaries]
python3 = 'python3.11'

0 comments on commit 83ffb5d

Please sign in to comment.