nautobot / cookiecutter-nautobot-app

Cookiecutter template for creating new Nautobot Apps.
https://docs.nautobot.com/projects/cookiecutter-nautobot-app/en/latest/
Apache License 2.0
14 stars 5 forks source link

Pin coverage or rip it out? #136

Open gsnider2195 opened 1 month ago

gsnider2195 commented 1 month ago

Nautobot core pinned coverage to 6.4.0 to resolve https://github.com/nedbat/coveragepy/issues/1420 that is breaking pdb breakpoints, making debugging difficult or impossible. We need to consider pinning this here and/or removing coverage from the development environment altogether and running it in CI instead. Coverage significantly slows down unit testing and most other projects only run it in their pull request CI.

cmsirbu commented 1 month ago

Looking at this I've noticed the issue has not had any activity in a year, so a fix is nowhere near seemingly. To top it off, 6.4.0 was released in 2022, so it is not compatible with python 3.12+ and pinning it will start creating problems. My inclination is to yeet it into PR CI only and out of the devenv.

Perhaps if we can make the coverage results more visible in a PR? Is that some other type of integration?