remove 'm' and 'd' ABI tags for Python 3.8 wheels#2121
remove 'm' and 'd' ABI tags for Python 3.8 wheels#2121abn merged 7 commits intopython-poetry:masterfrom
Conversation
kasteph
left a comment
There was a problem hiding this comment.
Thanks for your first contribution! 🚀
It would be great if you could write a test for this -- one doesn't exist yet but you can put it under tests/masonry/utils.
|
I can confirm I faced the exact same issue. Any binary wheel built with Poetry 1.0.5 for Python 3.8 under Windows will have @sdispater @stephsamson this seems like critical issue, with a very simple fix. Would be great if you find some time to review/merge this PR. Btw even |
In principle I could do that, however, I find it a bit hard to get started as I do not know where the |
|
@koehlma I added some review comment. For testing, you can construct a mocked env with from poetry.utils.env import MockEnv
env = MockEnv(version_info=(3, 8, 0)) |
|
Here you go. I wrote a test and adapted the |
abn
left a comment
There was a problem hiding this comment.
Changes look great. One comment, a good to have.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hey everyone,
as of Python 3.8 the
manddABI flags became obsolete (see 1 and 2). In fact, if present, they do prevent the installation of wheels. However, poetry seems to add those flags anyway. As a result, I cannot install wheels build withpoetry buildon the same system they were built on.This pull request fixes a
RuntimeWarningif the flags are not present in the environment and prevents the flags from being added to the ABI tag if the Python version is>= 3.8.Cheers,
Maximilian
Resolves: python-pendulum/pendulum#456