Skip to content

pytest is an unnecessary dependency? #2068

@TomAugspurger

Description

@TomAugspurger

Zarr version

main

Numcodecs version

na

Python Version

na

Operating System

na

Installation

na

Description

'pytest'
has pytest as a required dependency (note that this isn't as an dev-only extras dependency).

Looks like that was added in #1785. It wasn't discussed, so it was presumably intended to be a dev-only dependency.

Slightly related, but would you be open to defining tool.hath.envs.test as a standard optional dependency?

[tool.hatch.envs.test]
https://hatch.pypa.io/latest/config/environment/overview/#features recommends doing something like

[tool.hatch.envs.test]
features = [
  "test",
]

which should work for both.

Steps to reproduce

na

Additional output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions