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
There is a bug with require hashes mode. It uses incorrect version when extras are selected (instead of existing one).
So pytest-cov has a dependency on coverage[toml]>=5.2.1.
In requiremrents we fix to coverage that is not latest (one version older). Scenario that happens after every coverage release when you are not immediately latest and greatest.
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
coverage[toml]>=5.2.1 from https://files.pythonhosted.org/packages/a9/6b/4d3b9ce8b79378f960e3b74bea4569daf6bd3e1d562a15c9ce4d40be182c/coverage-7.3.2-cp311-cp311-macosx_10_9_x86_64.whl (from pytest-cov==4.1.0->-r requirements.txt (line 7))
Expected behavior
It should take old coverage version (like if we install)
Description
There is a bug with require hashes mode. It uses incorrect version when extras are selected (instead of existing one).
So pytest-cov has a dependency on coverage[toml]>=5.2.1.
In requiremrents we fix to coverage that is not latest (one version older). Scenario that happens after every coverage release when you are not immediately latest and greatest.
Expected behavior
It should take old coverage version (like if we install)
This scenario works because second command does not reinstall coverage and it just works.
pip version
23.2.1
Python version
3.11.5
OS
MacOSX
How to Reproduce
Create standard pipenv file:
Now that I have requiremernts:
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: