-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: macOS Big Sur 11.0.1 on Apple Silicon
-
Poetry version: 1.1.4
-
Link of a Gist with the contents of your pyproject.toml file: https://github.com/crimsobot/crimsoBOT/blob/c00966011f5e829c097f0f1ce77e0b785d0d23ab/pyproject.toml
Issue
When using Poetry on Big Sur, poetry.installation.chooser.Chooser is not recognizing available macOS wheels.
e.g. Poetry uses cryptography-3.0.tar.gz instead of cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl.
This has been fixed in pypa/packaging#319 (v20.5 and above), however it appears that Poetry is using packaging v20.4.
I've tracked it down to https://github.com/python-poetry/poetry-core vendoring in packaging v20.4, as poetry.utils.env.VirtualEnv.get_supported_tags is using ~/.poetry/lib/poetry/_vendor/py3.8/poetry/core/_vendor/packaging/tags.py as the script source on my machine.
I'm happy to put up a PR for this both here and in poetry-core, I just wasn't sure how to proceed with the vendoring there and how it ties back to here.
If there's any clarification I can provide, let me know :)