diff --git a/.github/workflows/linux_conda.yml b/.github/workflows/linux_conda.yml index 3201bcd8d65..2cf83895ce2 100644 --- a/.github/workflows/linux_conda.yml +++ b/.github/workflows/linux_conda.yml @@ -11,9 +11,9 @@ on: - '*' jobs: - py39: + py310: runs-on: ubuntu-20.04 - name: 'linux conda 3.9' + name: 'linux conda 3.10' defaults: run: shell: bash @@ -23,7 +23,7 @@ jobs: MNE_LOGGING_LEVEL: 'warning' MKL_NUM_THREADS: '1' PYTHONUNBUFFERED: '1' - PYTHON_VERSION: '3.9' + PYTHON_VERSION: '3.10' steps: - uses: actions/checkout@v2 - run: ./tools/setup_xvfb.sh @@ -45,6 +45,10 @@ jobs: - shell: bash -el {0} run: ./tools/github_actions_install.sh name: 'Install MNE' + - shell: bash -el {0} + run: | + QT_QPA_PLATFORM=xcb LIBGL_DEBUG=verbose LD_DEBUG=libs python -c "import pyvistaqt; pyvistaqt.BackgroundPlotter(show=True)" + name: 'Check Qt GL' - shell: bash -el {0} run: ./tools/github_actions_infos.sh name: 'Show infos' diff --git a/environment.yml b/environment.yml index 9afc1d762b3..5caa58223f4 100644 --- a/environment.yml +++ b/environment.yml @@ -38,7 +38,7 @@ dependencies: - nilearn - python-picard - qtpy -- pyqt!=5.15.3 +- pyqt!=5.15.3,!=5.15.4 - mne - mffpy>=0.5.7 - ipywidgets diff --git a/tools/setup_xvfb.sh b/tools/setup_xvfb.sh index 67d3dc83d01..aca5ef6ef41 100755 --- a/tools/setup_xvfb.sh +++ b/tools/setup_xvfb.sh @@ -11,5 +11,5 @@ done # This also includes the libraries necessary for PyQt5/PyQt6 sudo apt update -sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 +sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset