pytest-dev / pytest-cov

Coverage plugin for pytest.
MIT License
1.72k stars 211 forks source link

Is it possible pytest-cov tie to fixed version of `coverage`? #574

Open akivamu opened 1 year ago

akivamu commented 1 year ago

Looks like we're always pulling latest version of coverage.

Recently it's upgraded to 7.0.0 and break old code (I'm using omit rule e.g. something** in coveragerc)

I could solve it by adding coverage lib with fixed version to my project. But is it possible to tied to major version number? to avoid breaking change?

Thanks

ionelmc commented 1 year ago

I could solve it by adding coverage lib with fixed version to my project.

That's exactly what you should do. From the perspective of pytest-cov nothing is broken.