-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
[Apparently] Needless Rust edition bump breaks build on Void Linux #708
Comments
Thanks for opening the issue. We don't have a MSRV policy yet since most of our users use pre-built wheels from PyPI and package managers like Homebrew, conda and Alpine Linux updates their Rust version frequently. To establish a working MSRV policy for Void and other distributions, can you propose some requirements? |
Imo maturin only supports the latest stable rust, other rust versions are unsupported by the rust team anyway. Please install rust through rustup, the official installer. |
"Supporting" and "requiring" are two very different things. I don't have a good proposal for what it means to support past versions because I don't really follow rust evolution. Maturin is packaged in Void to support the However, it seems that there is no harm in delaying edition bumps until new features are actually used, especially since the default (official) behavior when the edition is unspecified is to assume an edition that is several years old. |
This is not how packages are built and distributed for Linux distros. |
I'm fine with revert back to 2018 edition, we can do that in the next release.
I'm all for making maturin available on more platforms so please elaborate. BTW, it'd be nice if distro packagers can send patches to upstream if possible, for example this one ( |
Thanks, appreciated!
Distributions (and most of their users who only want to compile software, rather than develop) will use the distro's packaged toolchains instead of something provided by an external tool. It has many benefits, including: better integration with the system, any necessary patches for that specific system organization or runtime differences, and a previously established chain of trust. Important patches can include:
Furthermore, someone on an older Debian or Alpine system (say, a 3.14 Alpine system) can build the software with minimal hassle, if we don't require newly-released features. And they might have corporate policy that forbids usage of binary wheels straight from PYPI, for whatever reason.
FWIW, there's a good reason for this one. That's a patch that I don't think should be upstreamed just yet. |
Awesome, thanks!! |
Bug Description
Is there a purpose for the edition bump in 4d51112? Void Linux is still working toward bumping rust and this makes it impossible to build maturin without reverting the edition change. Maturin compiles fine after reverting only the Cargo.toml edition spec.
Void has rust 1.53.0, which is less than six months old. The 2021 edition was declared stable in rust 1.56.0, released in late October. Unless it solves a real problem with maturin, making a one-month-stable edition a hard requirement seems undesirable.
Your Python version (
python -V
)N/A
Your pip version (
pip -V
)N/A
What bindings you're using
No response
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
0.12.*
with rust 1.53.0.The text was updated successfully, but these errors were encountered: