-
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
Poetry cannot choose orjson wheel for M1 macos #6573
Comments
is this during installation, or during locking? does if no then this is resolved by #6547 |
This happens during installation, I'm currently unable to verify if Tomorrow I'll test the latest master of poetry to find out if #6547 fixed the issue. |
Did you solve the problem? I have the same issue now. |
Nope and unfortunately I cannot install poetry from commit in my environment and will have to wait for the next release to verify if it still occurs. |
since neither of you has provided any output showing either what you are doing or what the result is, it's going to be hard for anyone to offer any help |
I'm unable to reproduce this on a M1 mac using Poetry 1.2.1. When I install using the pyproject provided or I suspect this issue is external to Poetry -- maybe your Python is not reporting the correct compatible tags. If you can reproduce this, the output of the above command plus details on how your Python is built/installed will be necessary. |
Different hardware (pc) and different software (Ubuntu) and had very same issue, in my case it was cache of poetry that got garbled somehow. I just went to $HOM/.cache/pypoetry found an existing (and cached) orsjon and nuked it out of this planet, after that poetry add worked just fine. |
this gives error and no installation done
repeats similar multiple times and
and finally goes to
|
That's a partial duplicate of #7161, and is caused by pip not having updated their vendored dependencies yet. There's not a great workaround yet, please see that issue for details. |
#7177 (comment), upgrade your pip |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
Poetry is unable to choose the orjson wheel for M1 macos i.e. https://files.pythonhosted.org/packages/74/71/5024229c3e6ca20ba069fd4428e322c3e038a881320491e7b9fe98a2df88/orjson-3.8.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl when orjson 3.8 is specified in pyproject.toml dependencies, and instead goes for the plain tar.gz (https://files.pythonhosted.org/packages/0a/de/282b8ca582b63e39e9ef7069c47c7be617d201e47ae435da851f7ffe61d1/orjson-3.8.0.tar.gz) and tries to build it.
Meanwhile if installed with pip, the proper wheel (URL mentioned above) is used:
The text was updated successfully, but these errors were encountered: