-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
Started to raise "AssertionError: Oops, byte_incr = 2, line_incr = 2" with switch to coverage 7.6.5 py 3.9 #1891
Comments
FWIW, pinning coverage to 7.6.1 provided a workaround, so should be related to diff between 7.6.1 and 7.6.5. |
yarikoptic
added a commit
to yarikoptic/datalad
that referenced
this issue
Nov 15, 2024
Underlying issue is with 7.6.5: reported to nedbat/coveragepy#1891 . First 7.6.1 was tried and it worked. Next bisection is 7.6.3. We will stop on highest working.
Yes, the changelog for 7.6.5 mentions:
I'll take a look at the files you've indicated to understand why they are different than most. |
yarikoptic
added a commit
to yarikoptic/datalad
that referenced
this issue
Nov 15, 2024
Underlying issue is with 7.6.5: reported to nedbat/coveragepy#1891 . First 7.6.1 was tried and it worked. Next bisection is 7.6.3 was ok. nedbat clarified that indeed in 7.6.5 some assertions were added: nedbat/coveragepy#1891 (comment) So we will just keep it that ceiled until issue resolved.
nedbat
added a commit
that referenced
this issue
Nov 15, 2024
nedbat
added a commit
that referenced
this issue
Nov 15, 2024
nedbat
added a commit
that referenced
this issue
Nov 15, 2024
jvesely
added a commit
to jvesely/PsyNeuLink
that referenced
this issue
Nov 15, 2024
nedbat/coveragepy#1891 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
jvesely
added a commit
to jvesely/PsyNeuLink
that referenced
this issue
Nov 15, 2024
nedbat/coveragepy#1891 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
wpbonelli
added a commit
to modflowpy/flopy
that referenced
this issue
Nov 15, 2024
This is fixed in commit 98939c9 and released as part of coverage 7.6.6. |
If anyone finds another similar assert in 7.6.6, please provide details. |
jvesely
added a commit
to PrincetonUniversity/PsyNeuLink
that referenced
this issue
Nov 15, 2024
nedbat/coveragepy#1891 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
We finally decided to ditch python 3.8 and thus switched CI runs to 3.9 in
but many runs failed with similar problem(s), e.g. from https://github.com/datalad/datalad/actions/runs/11844567886/job/33008095384?pr=7682
in the logs before running that command, while running actual tests
so most likely coverage has issues parsing these two files
but unclear with what and why not before.
To Reproduce
How can we reproduce the problem? Please be specific. Don't link to a failing CI job. Answer the questions below:
3.9
coverage debug sys
is helpful.before this we had 3.8 and it was installing e.g
coverage-7.6.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2
and we had no such issuespip freeze
is helpful.here is some
dependencies
git clone
,pip install
, and so on. Explain like we're five!failed to replicate locally.
Expected behavior
Not to raise AssertionError ;)
More information on problem with parsing -- at least point to the line numbers or even visualize them.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: