-
Notifications
You must be signed in to change notification settings - Fork 35
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
Replace Milksnake by Maturin #195
Conversation
Adding Python 3.11 and removing Python 3.6 Use Rust 1.63.0 to maximize Linux compatibility Remove setuptools_scm Update cibuildwheel action
086bd98
to
70b695d
Compare
"setuptools_scm[toml]>=3.4", | ||
"wheel", | ||
"milksnake>=0.1.2" | ||
"maturin>=0.13,<0.14", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Um, is there any reason to limit the versions here?
Upstream maturin is already at 0.14.6 and that is also what we package on Arch Linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally had some issue with maturin
0.14 (it might have been that it requires Rust 2021 Edition), but once things were working I should have circled back and tried again.
While investigating why the [Python 3.11] PR failed in conda-forge I found out that there is an error in [milksnake]. Main issue is that milksnake seems to be abandoned, without recent releases, so submitting a PR to fix there might be unfruitful. [Python 3.11]: conda-forge/sourmash-minimal-feedstock#36 [milksnake]: https://github.com/getsentry/milksnake [maturin] is a PEP517-compatible backend for building packages and aimed at Rust packages (pure or mixed with more Python code, like sourmash). It is actively maintained, and supports the `cffi` bindings case that we use too. [maturin]: https://maturin.rs This PR is based on pyocd/cmsis-pack-manager#195 Closes #1564 (previous try with `setuptools-rust`)
manylinux
version used), this should fix building wheels in CI.cibuildwheel
. Sincecmsis-pack-manager
does not use Python API, the bindings works independently of the version of Python. This is detected bycibuildwheel
since version 2.8.0. Upgrading the version of This will reduce the number of binaries.It possibly fixes the issues #110 and #176 (needs to be confirmed).