Closed
Description
I have a python project that uses pytest==8.3.4
and coverage==7.6.9
. I want to migrate from python 3.11
to 3.12
.
Just running pytest tests/
works normally on both 3.11
and 3.12
. However, executing coverage run --source=my_project -m pytest tests/
works on 3.11
, but hangs on 3.12
(displays "collecting 25 items" and moves no forward).
What are the possible causes or debugging steps to take in this scenario?