Skip to content

Poetry cannot install package with inconsistent wheel metadata #6599

Discussion options

You must be logged in to vote

The metadata between all your wheels needs to be the same -- that is the current origin of your issues then. Currently Poetry will try to pick the first wheel and hope metadata is consistent if there is not a sdist available.

This changed in #6547 -- however that PR is scoped to 1.3 only and will not help in this case.

Poetry does not support packages with inconsistent metadata between artifacts (and you shouldn't be setting Requires-Python differently -- the package supports all Python versions in the full range, it's just the individual artifacts that do not, and they capture that in the wheel tags) -- fix that and everything should just work.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@arthi-navenio
Comment options

Answer selected by neersighted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question User questions (candidates for conversion to discussion)
2 participants
Converted from issue

This discussion was converted from issue #6595 on September 22, 2022 16:25.