Skip to content

> Numpy 2.1 support #1095

Closed
Closed

Description

@Zethson

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!

Activity

  1. carsen-stringer commented on Feb 6, 2025

    @carsen-stringer
    Member

    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.

  2. sophiamaedler commented on Feb 8, 2025

    @sophiamaedler
    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.

  3. carsen-stringer commented on Feb 8, 2025

    @carsen-stringer
    Member

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

  4. changed the title [-]Numpy 2.x support[/-] [+]> Numpy 2.1 support[/+] on Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions