-
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
Suddenly require Rust and Cargo installed? #8160
Comments
I suspect the issue isn't with poetry itself as I've been using the same version without issue for the last few weeks. I suspect some dependency has been release and upgraded? |
plus one, the same error |
I should probably mention I noticed that rpds-py has a release earlier this morning BUT this was AFTER we were experiencing problems so I don't think it's that particular dependency causing issues but whatever is using it. |
https://github.com/python-jsonschema/jsonschema/releases/tag/v4.18.0 This is the offender I think. I'll raise an issue there also. |
The dependency chain here is: |
|
This comment from jsonschema guys,
|
Yeah, I have created #8161, we will stay on <4.18 until the issue with MUSL is resolved. |
Well, it seems the issue was resolved, Alpine is usable again. |
So we don't need #8161 anymore? |
@radoering we do, since we won't be able to install on FreeBSD without having Rust toolchain there. Overall, I would say that for our needs, jsonschema <4.18 should be fine. |
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. |
Poetry version: 1.5.1
Python version: 3.11.4
OS version and name: WSL2.0 on Windows 11 running Ubuntu
pyproject.toml: Not relevant.
[*] I am on the latest stable Poetry version, installed using a recommended method.
[*] I have searched the issues of this repo and believe that this is not a duplicate.
[*] I have consulted the FAQ and blog for any relevant entries or release notes.
[*] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.Issue
Recently we've been getting the below error in our CI environments. It appears there is now a requirement for rust and cargo to be installed in order to run poetry on alpine linux?
To reproduce,
docker run -it --rm alpine:latest /bin/sh -c "apk add python3 py3-pip && pip install poetry"
We get this error,
Workaround is to install rust and cargo,
docker run -it --rm alpine:latest /bin/sh -c "apk add rust cargo python3 py3-pip && pip install poetry"
Installs succesfully.
The text was updated successfully, but these errors were encountered: