Skip to content

Coverage on python 3.12 #1906

Closed
Closed
@vilmar-hillow

Description

@vilmar-hillow

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    not our bugThe problem was elsewheresupportA support question from a user

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions