Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Travis builds failed overnight on an import error relating to pytest #392

Closed
tfoote opened this issue Sep 28, 2020 · 3 comments
Closed

Comments

@tfoote
Copy link
Member

tfoote commented Sep 28, 2020

It looks like cron based trigger not a code based trigger failed all the jobs which suggests that something in the dependencies changed behavior. A snippet of the backtrace from https://api.travis-ci.org/v3/job/730824136/log.txt

  File "/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/_pytest/assertion/rewrite.py", line 171, in exec_module
    exec(co, module.__dict__)
  File "/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/pytest_rerunfailures.py", line 7, in <module>
    from _pytest.resultlog import ResultLog
ImportError: No module named '_pytest.resultlog'
@tfoote
Copy link
Member Author

tfoote commented Sep 28, 2020

This has been triaged upstream: pytest-dev/pytest-rerunfailures#129 We're hoping for a new release soon.

@dirk-thomas
Copy link
Member

This is due to the release of pytest 6.1.0: https://github.com/pytest-dev/pytest/blob/6.1.0/doc/en/changelog.rst#pytest-610-2020-09-26

The problem in pytest-rerunfailures has been reported in pytest-dev/pytest-rerunfailures#128 and already been fixed on master. Therefore I would expect a new release from coming soon which should resolve the problem.

@dirk-thomas
Copy link
Member

This has been resolved with a new release of pytest-rerunfailures: 9.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants