Skip to content

Create a package with zarr and numcodecs dependencies #17

@pont-us

Description

@pont-us

Currently, the xarray-enmap conda-forge package doesn't include the zarr or numcodecs packages as dependencies. This saves unneeded bloat for users who don't need the Zarr export functionality, but creates the inconvenience of manually installing these packages for users who do need the functionality.

The right way to solve this in the conda ecosystem would be with an additional package (e.g. xarray-enmap-zarr); see e.g. the black feedstock for an example of how to implement this.

I thought that the new v1 recipe format improved optional dependency handling, but on a quick look at the relevant CEPs I don't find anything about this, so maybe I was mistaken. But even with the old recipe format, multiple packages remain a valid solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions