You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pytest-coverage exists but is pytest-cover, not pytest-cov #733
I understand there's always a bit of tension between historical archives and current operation, but given pytest-cov and pytest-coverage are very close, and that pytest-cover is installing something that is sort-of pytest-cov but not current, I do feel like this is probably causing unnecessary confusion.
AFAICT these are all under the same ownership? Given they are all within typo-distance of each other, I'd like to make the suggestion that these are perhaps past their useful life, in that they cause more problems now than any archival history is worth.
Anyway, thank you for your work which I have used in many projects.
Well yeah, I could delete them, or just publish new "empty" releases that depend on pytest-cov. I think the later is more transparent about what is going on. pytest-coverage is an alias to pytest-cover anyway.
Right, it would be helpful if the pypi page had some help as I had to dig into the installed metadata file to figure out what was going on 😀
Personally I think remove them as they feel like juicy typo-squat targets and maybe them just not being a thing is best long term. But up to you, I thought it worth pointing out it can be a bit confusing for users. Thanks
First thing coming to mind is to make pytest-cover{,age} depend on pytest-cov, but also register their own trivial pytest plugin which essentially does (untested):
defpytest_configure():
warnings.warn("pytest-cover{,age} is replaced by pytest-cov, please uninstall it and depend on pytest-cov instead.", DeprecationWarning)
Activity
ionelmc commentedon Dec 17, 2025
Well yeah, I could delete them, or just publish new "empty" releases that depend on pytest-cov. I think the later is more transparent about what is going on. pytest-coverage is an alias to pytest-cover anyway.
ianw commentedon Dec 17, 2025
Right, it would be helpful if the pypi page had some help as I had to dig into the installed metadata file to figure out what was going on 😀
Personally I think remove them as they feel like juicy typo-squat targets and maybe them just not being a thing is best long term. But up to you, I thought it worth pointing out it can be a bit confusing for users. Thanks
RonnyPfannschmidt commentedon Dec 17, 2025
it seeems sensible to replace the packages with stand ins that depend on pytest-cov and trigger warnings, so people notice and an fix their deps
ionelmc commentedon Dec 17, 2025
I like the idea of warnings, not sure how to implement. Any suggestions?
The-Compiler commentedon Dec 17, 2025
First thing coming to mind is to make
pytest-cover{,age}depend onpytest-cov, but also register their own trivial pytest plugin which essentially does (untested):or somesuch.
ianw commentedon Dec 17, 2025
Also would be nice to archive (https://blog.pypi.org/posts/2025-01-30-archival/)
pytest-coverandpytest-coverageafter any last changes like warnings. Will indicate to users who hit pypi what's going on, but also will help things like static dependency scanners that will see you using an archived package, which might also help.