Skip to content

False Environment Marker in dependency triggers error "[InvalidPyVersion]: Invalid specifier: 'impossible'" #2022

Answered by frostming
poirier asked this question in Q&A
Discussion options

You must be logged in to vote

when doing cross-platform locking, the environment markers are not evaluated and no deps will be dropped at lock time.

But python requires is an exception. Subdependencies specified with a disjoint python range will be ignored, but top deps won't because we assume users know what they want. We may need to improve this.

Replies: 8 comments

Comment options

pawamoy
Jun 14, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pawamoy
Jun 14, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pawamoy
Jun 14, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pawamoy
Jun 14, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by poirier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
🐛 bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #2021 on June 14, 2023 13:49.