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

Relax minimum numpy version to 1.26.0 #243

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

mplough-kobold
Copy link
Contributor

@mplough-kobold mplough-kobold commented Sep 12, 2024

Numpy 2.0 was released back in June - a big milestone! Since it's so recent, a lot of packages haven't yet been able to upgrade to Numpy 2.0, so 1.x continued support will be important for facilitating continued compatibility with other packages.

This PR follows numpy's guidance for building wheels that work on both 2.0 and 1.xx releases:

When you build wheels for your package using a NumPy 2.x version at build time, those will work with NumPy 1.xx.

We already use NumPy 2.x at build time, so that's easy. This PR relaxes the install requirement to numpy>=1.26.0 and adds one CI job per operating system to verify that rawpy does continue to work with NumPy 1.x.

@letmaik
Copy link
Owner

letmaik commented Sep 12, 2024

Perfect, thanks again :)

@letmaik letmaik merged commit 55d97bc into letmaik:main Sep 12, 2024
48 checks passed
@mplough-kobold mplough-kobold deleted the matt-numpy-v1-relax branch September 13, 2024 14:20
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