-
Notifications
You must be signed in to change notification settings - Fork 51
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
Incompatible with coverage 5.0 #129
Comments
There is an incompatibility with the nbval package: computationalmodelling/nbval#129
The error is:
Caused by Lines 112 to 122 in 7c6cd71
|
Pin coverage prior to 5.0.0 to work around computationalmodelling/nbval#129
PR #130 pins the version of coverage to avoid this problem. But we should work out a proper fix and unpin it again, so I'll leave this issue open. |
See nedbat/coveragepy#882 (comment) for more information |
Pin version until the package is compatible again: computationalmodelling/nbval#129
Hello, we ran into issue in our CI due to the new |
Any update on this one? |
I had a look again to figure out what the code is doing. Basically, the code is trying to tell whether we are being run with the The easiest solution is probably to say "we only support the central engine", and get rid of this code. |
Looking at it further, it might just be best to drop the coverage support. |
Dropping support for coverage entirely would be a real shame :( |
I made a fix PR, but its all dependent on pytest-cov remaining somewhat stable. |
For what it’s worth, I depend on coverage reports including code that ran only due to nbval (alongside “normal” tests). So I very much hope you’re not dropping coverage support. |
I'll give it a try soon... |
Looks good! 👍 |
Released as 0.9.5 |
This reverts commit f307c25 (gh-152). The upstream issue, computationalmodelling/nbval#129, has been resolved.
Pin version until the package is compatible again: computationalmodelling/nbval#129
It seems like
nbval
does not work with the just released coverage 5.0 package: https://travis-ci.org/qucontrol/krotov/jobs/625049383The text was updated successfully, but these errors were encountered: