-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Lockfile does not generate correct version requirements for 3.9 when run locked on 3.8, under certain circumstances #5043
Comments
@gitpushdashf I believe this is similar to another reported issue #4967 that I believe will be fixed, or at least deterministic when the vendoring to pip 22.0.4 can be completed. At least I will have you re-test when we can get to that point. |
Sounds good, thank you! |
Please check with |
Still having the same issue. |
@gitpushdashf This may be solved by the nondeterminism in markers issue -- there is a branch out for it you could check: #5373 |
@gitpushdashf marker determinism should be solved with |
Awesome! Thank you so much! Will test later. |
If I generate the lockfile (pipenv 2022.3.28 or 2022.4.8) on Python 3.8, it looks like this:
If I generate the lockfile on Python 3.9, it correctly looks like this:
This seems to be caused by rich requiring typing-extensions only on Python 3.8 and older, whereas mypy always requires it: https://github.com/python/mypy/blob/master/mypy-requirements.txt#L1
rich: https://github.com/Textualize/rich/blob/master/pyproject.toml#L30
This breaks mypy when installed alongside rich on 3.9+, when the lockfile is generated on 3.8.
The text was updated successfully, but these errors were encountered: