Skip to content

matplotlib-stubs prevents upgrading to numpy 2 #45

Description

@gorlins

Looks like the dev dependency on matplotlib-stubs breaks a few things:

% uv add "numpy>=2"
  × No solution found when resolving dependencies for split (python_full_version >= '3.12'):
  ╰─▶ Because matplotlib-stubs==0.2.0 depends on numpy>=1.20,<2.dev0 and only matplotlib-stubs<=0.2.0 is available, we can conclude that matplotlib-stubs>=0.2.0
      depends on numpy>=1.20,<2.dev0.
      And because beangrow==1.0.1 depends on matplotlib-stubs>=0.2.0, we can conclude that beangrow==1.0.1 depends on numpy>=1.20,<2.dev0.
      And because only beangrow<=1.0.1 is available and accounting depends on beangrow>=1.0.1, we can conclude that accounting depends on numpy>=1.20,<2.dev0.
      And because accounting depends on numpy>=2 and your workspace requires accounting, we can conclude that your workspace's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.

Is this dependency still needed? Looks like the package itself is archived
https://github.com/hoel-bagard/matplotlib-stubs?tab=readme-ov-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions