Skip to content

Polaris fails to locate zarr.DirectoryStore with Zarr 3.x installed (installed automatically by conda) #276

@FabianKruger

Description

@FabianKruger

Polaris version

0.7.9

Python Version

3.12.2

Operating System

Linux (Ubuntu 22.04.5 LTS (ARM architecture))

Installation

conda install -c conda-forge polaris

Description

Description:
When installing Polaris via conda, the dependency resolver automatically installs Zarr version 3.0.6. However, running polaris login results in an AttributeError because Polaris tries to access zarr.DirectoryStore, which is no longer available in Zarr 3.x. Also importing polaris in a script does not work. Downgrading to a Zarr 2.x version manually resolves the issue. A proper fix or explicit dependency version requirement would improve the package's user-friendliness.

Steps to reproduce

conda create -n polaris python=3.12
conda activate polaris
conda install -c conda-forge polaris
polaris login

Additional output

AttributeError: module 'zarr' has no attribute 'DirectoryStore'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions