Skip to content

ci: install Qt system libraries on the runner#1

Merged
JCorson merged 1 commit into
mainfrom
fix/ci-qt-system-libs
May 14, 2026
Merged

ci: install Qt system libraries on the runner#1
JCorson merged 1 commit into
mainfrom
fix/ci-qt-system-libs

Conversation

@JCorson
Copy link
Copy Markdown
Owner

@JCorson JCorson commented May 14, 2026

Summary

  • CI has been red on every push to main since the workflow was added — all three matrix legs (Python 3.11/3.12/3.13) fail at pytest_configure with ImportError: libEGL.so.1: cannot open shared object file.
  • PySide6's QtGui dlopens libEGL.so.1 (and a couple of friends) at import time, before QT_QPA_PLATFORM=offscreen from tests/conftest.py can take effect. The ubuntu-latest image doesn't ship those libs.
  • Adds a single apt-get install -y libegl1 libxkbcommon0 libdbus-1-3 step before uv sync. Minimal set; offscreen mode means we don't need the xcb stack.

Test plan

  • All three matrix legs (3.11, 3.12, 3.13) go green on this PR
  • Run tests step no longer shows ImportError: libEGL.so.1
  • After merge, the push-to-main run is also green

🤖 Generated with Claude Code

PySide6 dlopens libEGL.so.1 (and libxkbcommon0, libdbus-1-3)
when pytest-qt imports QtGui in pytest_configure, before the
offscreen platform set in tests/conftest.py can take effect.
The ubuntu-latest image does not ship these libs, so every
matrix leg fails with `ImportError: libEGL.so.1`.

Install the minimal set via apt before `uv sync`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JCorson JCorson merged commit daed22a into main May 14, 2026
3 checks passed
@JCorson JCorson deleted the fix/ci-qt-system-libs branch May 14, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant