-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix Platform-Specific Wheel File Selection & Assign Markers (See #944 / #955) #1144
Fix Platform-Specific Wheel File Selection & Assign Markers (See #944 / #955) #1144
Conversation
Any update on this @sdispater? Poetry is flat out broken right now. How can I possibly support any system which has remained unusable for so long? I had such high hopes for poetry as well, but it looks like I may have to move back to pipenv. Really, all I needed was dependency resolution. But maybe the answer is to ignore that, install manually, hope for the best and test a lot more... Then just lock those dependencies. The other problem Windows is facing has also received no love. It's why the errors have been so unhelpful (this error masks other problems) and in a few unlucky cases again flat out breaks poetry on Windows. |
looks like this would fix most of our current build issues |
# Conflicts: # poetry/repositories/pypi_repository.py
The PR is basically done, but I'm not going to push it further as this is no longer an issue now that poetry better picks the downloaded file. The current logic in poetry ^0.12.17 is sufficient |
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. |
(22Aug2019)) Update: Based on the discussion in #955, I'll be implementing marker assignment based on the wheel filenames. See discussion starting at: #955 (comment)
Resolves #944 & #807
Issue: If a package only has
platform_specific_wheels
, Poetry just downloads the first one, which is usually cp27 and MacOSX (i.e.: numpy)Changes: This PR adds logic to determine the best wheel file to download for Poetry supported platforms. If the best wheel can't be identified, the method falls back on the original behavior to return the first platform wheel. This fixes the [OS Error] on Windows and improves matching for Linux and Mac.
Also, tested on a couple of different computers as a sanity check (Win7-64, Win10-64, and MacOSX Mojave)
Pull Request Check List