Skip to content

Zarr over ssh fails with unexpected keyword argument #3576

@b8raoult

Description

@b8raoult

Zarr version

3.1.3

Numcodecs version

0.15.1

Python Version

3.12.9

Operating System

Linux

Installation

uv pip install

Description

Calling zarr.open with an ssh://... url fails with the following error:

  File ".../python3.12/site-packages/fsspec/implementations/sftp.py", line 48, in __init__
    self._connect()
  File ".../python3.12/site-packages/fsspec/implementations/sftp.py", line 54, in _connect
    self.client.connect(self.host, **self.ssh_kwargs)
TypeError: SSHClient.connect() got an unexpected keyword argument 'asynchronous'

Not sure if this is a Zarr issue or an fsspec issue, but as it works with zarr2, I decided to report it here,

Steps to reproduce

Make sure that fsspec is installed with pip install fsspec[ssh]

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