Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akivamu opened this issue Dec 19, 2022 · 1 comment
Open

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

akivamu opened this issue Dec 19, 2022 · 1 comment

Comments

@akivamu
Copy link

akivamu commented Dec 19, 2022

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
Copy link
Member

ionelmc commented Dec 19, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants