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

Replace Milksnake by Maturin #195

Merged
merged 5 commits into from
Dec 17, 2022
Merged

Replace Milksnake by Maturin #195

merged 5 commits into from
Dec 17, 2022

Conversation

mathias-arm
Copy link
Collaborator

@mathias-arm mathias-arm commented Nov 23, 2022

It possibly fixes the issues #110 and #176 (needs to be confirmed).

Adding Python 3.11 and removing Python 3.6
Use Rust 1.63.0 to maximize Linux compatibility
Remove setuptools_scm
Update cibuildwheel action
@mbrossard mbrossard force-pushed the maturin branch 9 times, most recently from 086bd98 to 70b695d Compare November 27, 2022 06:52
@flit flit merged commit f7bb31c into main Dec 17, 2022
"setuptools_scm[toml]>=3.4",
"wheel",
"milksnake>=0.1.2"
"maturin>=0.13,<0.14",
Copy link
Contributor

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.

Copy link
Collaborator

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.

@flit flit deleted the maturin branch December 17, 2022 20:57
luizirber added a commit to sourmash-bio/sourmash that referenced this pull request Dec 28, 2022
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`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants