Replies: 3 comments 4 replies
-
|
Thanks for the detailed report.
Yes, I think the issue is that Poetry does not distinguish between free-threaded and not free-threaded. We probably have to fix get_supported_tags. #10361 fixes a similar issue. |
Beta Was this translation helpful? Give feedback.
-
|
I use latest poetry version, 2.2.1, so unfortunately #10361 will not help. with the result (same if using poetry installed with 3.14.0 or 3.14.0t) : Hope this could help. |
Beta Was this translation helpful? Give feedback.
-
|
@dir26738 The issue should be fixed with #10614. I would be glad if you can try it out. (See https://python-poetry.org/docs/#installing-with-pipx for how to install Poetry from a PR.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am playing with python 3.14t. I am on ubuntu 22.04, using pyenv to change the current python version. poetry is installed with python 3.11.14, and my project use python 3.14.0t.
I suspect that the ABI version is not take into account or I am doing something bad, not able to define the ABI.
Here is the project to play with :
poetry_abi_tag_isssue.zip
For me, with a wheel name like "numpy-2.3.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", the python version is cp314 and the abi version is cp314t.
As the active python is 3.14t (pyenv local 3.14.0t), I expect that poetry will use the wheel with abi tag "cp314t" and not the one this abi tag "cp314". When creating my env with the command "poetry sync --no-root", the result of "poetry env info" is :
What I get in my venv :
The virtual env is using python 3.14t exe, but here is the issue :
AND
In my venv, the wrong wheel was used, I expected to see cpython-314t.so file only.
If poetry is installed while python 3.14t is activated, I have the correct wheel installed in my env :
AND
Sorry to be so long, so my question :
I search for any questions about the ABI tag, I found no answer.
Is it supported ? --> I would say "yes", as it is working if poetry is installed with python 3.14t.
As poetry is marked to support python version per project, is it an issue ? Or how to set the ABI version.
Thanks for your support.
Beta Was this translation helpful? Give feedback.
All reactions