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
Can't use coverage in Python 3.2 #4866
Comments
When a build starts failing without your code changing, it is often the underlying dependencies that changed and caused the sudden failure. Please compare the old and the new dependency versions to troubleshoot. Thanks. |
Looks like there is a major release of |
Ok thanks, my fast fix:
|
@ZuluPro Thank's for the fix, the issue was driving me mad, and the error is very unhelpful. What is weird is that the issue only happens with Python 3.2 (I'm testing 2 different libraries against Python from 2.6 to 3.2 and even Pypy and Pypy3, no issue at all with all the others). |
This is an attempt to fix TravisCI for builds on Python 3.2 by using an older version of coverage. See travis-ci/travis-ci#4866
There is a new version of the coverage package (4.0), which drops support for Python 3.2. Therefore, we have to use an older version on Python 3.2. See travis-ci/travis-ci#4866 for more details.
The coverage package, which is used by pytest-cov, doesn't support Python 3.2 after version 4.0. See travis-ci/travis-ci#4866 for more details.
- For more info, see: travis-ci/travis-ci#4866
The coverage package, which is used by pytest-cov, doesn't support Python 3.2 after version 4.0. See travis-ci/travis-ci#4866 for more details.
See for more info why coverage needed to be upgraded: travis-ci/travis-ci#4866
More information on the travis-ci issue tracker [here](travis-ci/travis-ci#4866)
More information on the travis-ci issue tracker [here](travis-ci/travis-ci#4866)
More information on the travis-ci issue tracker [here](travis-ci/travis-ci#4866)
There is a known issue with the coverage 4.0 release failing on Python 3.2: travis-ci/travis-ci#4866 I'm not specifically interested in Python 3.2 support, so rather than hold back the coverage version to < 4, I'll drop support for that test environment. Issue #10.
For those interested I was able to setup codecov (in practice a wrapper for coverage) under all Python versions, look here. |
keep coverage lib < v4 due to travis-ci/travis-ci#4866
Python 3.2 tests fails since today:
https://travis-ci.org/ZuluPro/django-dbbackup/jobs/82792977
Here's an old job which succeed and failed after retry: https://travis-ci.org/ZuluPro/django-dbbackup/jobs/80029389
The text was updated successfully, but these errors were encountered: