Closed cbrnr closed 1 year ago
@larsoner you have a lot of experience with issues related to running Qt tests on CI servers – do you happen to know what's going on here (https://github.com/cbrnr/mnelab/actions/runs/4766432481/jobs/8473493366?pr=372)?
It's very likely you are missing some dependencies of the Qt libraries. To stay up to date for free I'd use pyvista/setup-headless-display-action with qt: true
as in:
To check you can try just creating a QApplication separately like:
Every few months it seems there is some new dependency the PyQt folks decide to no longer bundle and require at the system level. I plan to keep the setup-headless-display-action
up to date with these requirements.
Thanks @larsoner, I'll try that action! This would be a relief!
Unfortunately, this doesn't work either 😢.
To check you can try just creating a QApplication separately like:
Did you try this suggestion?
Did you try this suggestion?
Oops, sorry, missed that. Will try!
Not really sure what's going on. @larsoner do you know?
I decided to just install the missing package for now, but I might come back to your action in the future. I just don't want to use the main branch of an action, this seems a bit too cutting edge. Anyway, thanks for the help @larsoner!
According to https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html, setting up the build toolchain should now work with
pyproject.toml
.