pytest-testmon icon indicating copy to clipboard operation
pytest-testmon copied to clipboard

ModuleNotFoundError: No module named 'coverage.tracer'

Open PerchunPak opened this issue 2 years ago • 3 comments

Dependecies, CI logs.

I also found that usage "example".

PerchunPak avatar Apr 20 '22 19:04 PerchunPak

Only in Python 3.11

PerchunPak avatar Apr 20 '22 20:04 PerchunPak

Interesting. After a short investigation I realized that you probably don't have the C extensions installed (there doesn't seem to be 3.11 wheels for coverage available yet.) you can check with coverage --version and it'll say Coverage.py, version 6.3.2 without C extension

testmon should check for this and put out better error message. Also, of course support for the PyTracer could be done. There is no ETA, please use testmon with coverage + C extension.

tarpas avatar May 04 '22 12:05 tarpas

I am using Github Actions for reproducing this, and I actually confused: image

PerchunPak avatar May 05 '22 18:05 PerchunPak

Fixed in v 1.4.0.

tarpas avatar Oct 26 '22 10:10 tarpas

How do I fix this?

prd-quy-nguyen avatar Oct 26 '23 03:10 prd-quy-nguyen

just update to the latest version

PerchunPak avatar Oct 26 '23 21:10 PerchunPak