With attrs 21.3.0, if I run a script that does import attr using coverage, I get an error from coverage report.
$ python3 --version
Python 3.6.15
$ echo 'import attr' > test.py
$ pip3 install attrs coverage
…
Successfully installed attrs-21.3.0 coverage-6.2
$ coverage run test.py
$ coverage report
No source for code: '/tmp/rep-1>'.
This worked with attrs 21.2.0.
$ pip3 install attrs==21.2.0
…
Successfully installed attrs-21.2.0
$ coverage run test.py
$ coverage report
Name Stmts Miss Cover
-----------------------------
test.py 1 0 100%
-----------------------------
TOTAL 1 0 100%
I bisected the problem to commit 5a368d8 (#858). Cc @thetorpedodog @hynek.