-
Notifications
You must be signed in to change notification settings - Fork 368
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 not compatible with precompiled python #1743
Comments
same here, WSL2, windows freshly install
|
workaround
|
Can confirm am facing this same issue 😭 @wasdee What is the full command you're running as a workaround? |
suppose, I want to use 3.11.1. and i got a pre-compiled one installed. and already install pre-compile pkgs
This is what i vaguely remember. |
same issue. i hope this can be fixed soon. as a workaround i installed pipx, then poetry using pipx |
the precompiled pythons don't work with poetry. You need to reinstall python after running |
an upstream issue needs to be filed, it seems. i couldn't find one. |
Note, it's not that precompiled Pythons don't work with poetry, it's that precompiled On this particular laptop it chose
|
Yeah, just to clarify: the musl builds have a bunch of limitations (see: astral-sh/python-build-standalone#86) -- for example, you can't load shard library-based extension modules. It would be nice if we could avoid this specific issue in |
frankly I have no idea what it does, but this change does appear to have fixed this issue for users using mise-poetry: mise-plugins/mise-poetry@431c335 of course if you just |
Interesting... I submitted a PR to pip that I think would avoid this specific failure: pypa/pip#12716. But not sure if it will be accepted or on what timeline it would be released. It should resolve the issue from the |
is this resolved now? I see that @charliermarsh's PR was merged and I haven't heard reports of this not working |
Describe the bug
When I tried setting up python and poetry for a project, the poetry install fails with:
To Reproduce
mkdir test && cd test
mise u python@3.10
mise u poetry
This led to the above error. I have never had poetry installed on this machine before, nor mise.
Expected behavior
That poetry successfully installed.
mise doctor
outputAdditional context
OS: arch linux 6.7.7-arch1-1
edit by @jdx
precompiled pythons are not compatible with poetry. I don't know why but the issue needs to be fixed upstream since the issue is not with mise itself but the pythons mise uses. Here's how to disable precompiled pythons and reinstall:
The text was updated successfully, but these errors were encountered: