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

Update maturin version to ~=1.0 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kmichel-aiven
Copy link

@kmichel-aiven kmichel-aiven commented Sep 5, 2023

This allows building blake3 with maturin 1.0, 1.1, 1.2 and future compatible versions.

The package was built and tested with each latest minor version of maturin since 0.14 (0.15.3, 1.0.1, 1.1.0 and 1.2.3) by incrementally increasing the upper bound and running :

# edit version then :
pip install --verbose --no-binary :all: . && pytest

https://www.maturin.rs/changelog

@oconnor663
Copy link
Owner

Now that Maturin is post-1.0, maybe we should use a compatible version specifier like maturin~=1.2?

This allows building blake3 with maturin 1.0, 1.1, 1.2 and future compatible versions.

The package was built and tested with each latest minor version of
maturin since 0.14 (0.15.3, 1.0.1, 1.1.0 and 1.2.3) by incrementally
increasing the upper bound and running :

```
# edit version then :
pip install --verbose --no-binary :all: . && pytest
```

https://www.maturin.rs/changelog
@kmichel-aiven kmichel-aiven changed the title Update maturin upper bound to < 1.3 Update maturin version to ~=1.0 Sep 8, 2023
@kmichel-aiven
Copy link
Author

Now that Maturin is post-1.0, maybe we should use a compatible version specifier like maturin~=1.2?

Good point. I've set it to ~=1.0 instead of ~=1.2 if that's ok.

That still allows compatibility with the latest but reduces the pain on Linux distribution that still package maturin 1.0 or 1.1 (Fedora 37 to 39, Debian sid). Since the build also works with these versions, no need to block them ?

@kmichel-aiven
Copy link
Author

Hi, did you have time to look at this ?

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.

2 participants