You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
attrs 21.3.0 breaks coverage report on Python 3.6 (regression from 21.2.0) #895
JFTR: the reason why it didn't come up in my own tests is because I always set a --source:
$ coverage run test.py; coverage report
No sourcefor code: '/Users/hynek/tmp/rep-1>'.
$ coverage run --source test test.py; coverage report
Name Stmts Miss Cover
-----------------------------
test.py 1 0 100%
-----------------------------
TOTAL 1 0 100%
Activity
Tinche commentedon Dec 29, 2021
Interesting. Could be a coverage bug? Not sure why this would break it.
deadlylaid commentedon Dec 29, 2021
python 3.7 has same issue
working in CI/CD
but when i fixed attrs==21.2.0, its work
hynek commentedon Dec 29, 2021
@nedbat any idea? 🤔
hynek commentedon Dec 29, 2021
OK, I think I've got it. Could y'all have a look at #896 and tell me if it fixes your problems? I can cut a release later today if yes.
hynek commentedon Dec 29, 2021
JFTR: the reason why it didn't come up in my own tests is because I always set a
--source:andersk commentedon Dec 29, 2021
Yeah, #896 works for me, both in my minimal test case and in my actual application (Zulip). Thanks for the quick fix!
hynek commentedon Dec 29, 2021
Thank you for the quick confirmation!
hynek commentedon Dec 29, 2021
21.4 is on PyPI – sorry for the regression and hope it's fixed now.
Merge #469
Merge #469
requirements: bump attrs 21.3.0 -> 21.4.0