Skip to content

Conversation

diazona
Copy link
Contributor

@diazona diazona commented Jun 28, 2025

Recently, version 6.2.0 of pytest-cov was released with support for new pluggy hookwrappers, which require pluggy>=1.2 and pytest>=6.2.5, but the dependency metadata wasn't updated to reflect these requirements. There was an immediate followup release, pytest-cov 6.2.1, that fixed the metadata problem (pytest-dev/pytest-cov#200), but that still leaves version 6.2.0 as one that pip thinks should be safe to use with pytest<6.2.5, even though it actually isn't. (Perhaps 6.2.0 should be yanked to deal with this, but it looks like it probably won't be.)

Since some of our tests run with pytest 6.2.4, we were getting failures because of this mismatch. Accordingly, in this PR I'm manually blocking pytest-cov 6.2.0 to avoid the failure.

Recently, version 6.2.0 of pytest-cov was released with support for
new pluggy hookwrappers, which require pluggy>=1.2 and pytest>=6.2.5,
but the dependency metadata wasn't updated to reflect these
requirements. There was an immediate followup release, pytest-cov 6.2.1,
that fixed the metadata problem, but that still leaves version 6.2.0 as
one that pip thinks should be safe to use with pytest<6.2.5, even though
it actually isn't. (Perhaps 6.2.0 should be yanked to deal with this,
but it looks like it probably won't be.)

Since some of our tests run with pytest 6.2.4, we were getting failures
because of this mismatch. Accordingly, in this commit I'm manually
blocking pytest-cov 6.2.0 to avoid the failure.
@diazona diazona requested a review from coordt June 28, 2025 06:21
@diazona diazona merged commit beba84f into master Jul 3, 2025
44 checks passed
@diazona diazona deleted the block-broken-pytest-cov-version/1/dev branch July 3, 2025 06:21
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

Successfully merging this pull request may close these issues.

1 participant