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

> Numpy 2.1 support #1095

Open
Zethson opened this issue Jan 31, 2025 · 3 comments
Open

> Numpy 2.1 support #1095

Zethson opened this issue Jan 31, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@Zethson
Copy link

Zethson commented Jan 31, 2025

Dear developers,

Numpy 1.x will be EOL in 8 months (https://scientific-python.org/specs/spec-0000/). It's currently also difficult to depend on cellpose because many other packages have already moved far beyond Numpy 1.

Would it be possible to please unpin Numpy or at least support versions 2.x?

Thank you!

@Zethson Zethson added the enhancement New feature or request label Jan 31, 2025
@carsen-stringer
Copy link
Member

carsen-stringer commented Feb 6, 2025

we support up to version 2.1 with numpy. the main limitation is numba - they now support 2.1 so we could increase the dependency upper bound: https://numba.readthedocs.io/en/stable/user/installing.html

EDIT: I will keep this open for now, I am not sure if we want to stop supporting py3.9 just yet.

@sophiamaedler
Copy link
Contributor

For us Mac users it would be great if we could get Numpy 2.X support for 3.0.11 as this is the last version currently running on the MPS backend. Here as far as I can tell numpy is still pinned <2.0.

@carsen-stringer
Copy link
Member

this should be resolved now - the latest cellpose version pins numpy < 2.2

@carsen-stringer carsen-stringer changed the title Numpy 2.x support > Numpy 2.1 support Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants