Skip to content
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

Install latest rustc/cargo #282

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Install latest rustc/cargo #282

merged 1 commit into from
Aug 13, 2024

Conversation

JonasAlfredsson
Copy link
Owner

The cryptography Python package requires rustc >= 1.65.0 to build now, and Debian only comes with 1.63.0 by default. We therefore utilize the rustup installation script, similar to the get-pip.py script, to get the latest version.

@JonasAlfredsson JonasAlfredsson force-pushed the cargo_latest branch 3 times, most recently from 3c82615 to 1ae0335 Compare August 13, 2024 17:33
The cryptography Python package requires rustc >= 1.65.0 to build
now, and Debian only comes with 1.63.0 by default. We therefore
utilize the rustup installation script, similar to the get-pip.py
script, to get the latest version for the architectures where this
build step is needed.

In the Alpine case we never need to build the package, so remove
the rust dependency there.

In the case of i386 the rustup script is unable to correctly identify
which system it is to build for, so we need to provide this info
manually.
@JonasAlfredsson JonasAlfredsson merged commit 6342ab4 into master Aug 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant