Skip to content

Missing dependencies / pyproject.toml #19

Closed

Description

@Jhsmit

ultraplot dependencies are not specified in pyproject.toml

when I install with:

$ uv pip install ultraplot

then importing ultraplot gives:
ModuleNotFoundError: No module named 'matplotlib'

There are also some inconsistencies in the python version in pyproject.toml:

requires-python = ">=3.6.0"

"Programming Language :: Python :: 3.8",

dependencies= [
'importlib-metadata; python_version>"3.8"',
]

I'll try to make a PR

Activity

  1. cvanelteren commented on Jan 16, 2025

    @cvanelteren
    Collaborator

    The dependencies are a bit of a mess as we support conda and pip. The requirements are correct, but you are correct in stating that the dependencies should be apart of pyproject.toml rather than in requirements.txt

  2. cvanelteren commented on Jan 16, 2025

    @cvanelteren
    Collaborator

    Also, we should with the advent of 3.12, perhaps implement PEP 735 in the future.

  3. cvanelteren commented on Jan 26, 2025

    @cvanelteren
    Collaborator

    Fixed! Thanks!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions