Skip to content

Conversation

@SamuelMarks
Copy link

I was installing mkdocs-material which requests a newer version than coveragepy requires.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
coveragepy 1.6.0 requires requests==2.25.0, but you have requests 2.32.4 which is incompatible.

Or more explicitly on reverse:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mkdocs-material 9.6.15 requires requests~=2.26, but you have requests 2.25.0 which is incompatible.

This PR just loosens up your dependency. Let me know if you want any alterations, like more specific requests version range.

@nedbat
Copy link
Owner

nedbat commented Jul 25, 2025

I'm not understanding something: coverage.py has no run-time dependencies, these are development requirements. How are you using the coveragepy repo? Also, the message says, "coveragepy 1.6.0 requires requests==2.25.0" There was never a coverage 1.6.0 release.

@SamuelMarks
Copy link
Author

@nedbat Ohhh silly me, checking pip freeze:

coverage==4.5.3
coveragePy==1.6.0

Your project:
https://pypi.org/project/coverage/ [Jul 24, 2025]

That other random one:
https://pypi.org/project/coveragePy/ [updated Dec 16, 2020]

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.

2 participants