Skip to content

Conversation

@nicoddemus
Copy link
Member

@nicoddemus nicoddemus commented Sep 13, 2018

Manually configure miniconda on Travis and use pytest-xvfb

Our travis build started failing with errors like this for pyqt 4 and 5:

UnsatisfiableError: The following specifications were found to be in conflict:
  - pyqt
  - pyqt=4.*

This commit installs miniconda manually so we can have better control at
what is going on, and install pytest-xvfb to handle xvfb for us.

Our travis build started failing with errors like this for pyqt 4 and 5:

UnsatisfiableError: The following specifications were found to be in conflict:
  - pyqt
  - pyqt=4.*

This commit installs miniconda manually so we can have better control at
what is going on, and install pytest-xvfb to handle xvfb for us.
@nicoddemus
Copy link
Member Author

So close yet so far. 😁

Some of the jobs are failing with:

: Fatal IO error: client killed

At the end of the test run. Seems like an error from xvfb. Have you seen this before @The-Compiler?

@The-Compiler
Copy link
Member

Yeah, see #124 and The-Compiler/pytest-xvfb#1 - still no clue why it happens, but it's only on Qt 4. 😉

For some reason we get some crashes at the end of the test session
in a few jobs:

The-Compiler/pytest-xvfb#1

Not sure why this happens, so reverting to starting xvfb manually.
@nicoddemus
Copy link
Member Author

Thanks for the pointer. I've read the related issues and indeed seems like our exact problem, although now we have one test failure in pyqt5 that we didn't have so far. I've reverted to running xvfb manually now, we revisit this later. 👍

@nicoddemus
Copy link
Member Author

The build in my fork has completed successfully: https://travis-ci.org/nicoddemus/pytest-qt/builds/428174533 🎉

@nicoddemus
Copy link
Member Author

Merging as this does not affect AppVeyor. 👍

@nicoddemus nicoddemus merged commit c7b6a74 into pytest-dev:master Sep 13, 2018
@nicoddemus nicoddemus deleted the fix-travis-pyqt branch September 13, 2018 14: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.

2 participants