fsspec / fsspec/sshfs

asyncssh API change breaks parsing of config

Open
#54 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug effort-large p1-important
Dominant language
Python
Stars
89
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The v2.19.0 release of asyncssh has added support for hostname canonicalization. With this change, two new arguments were added to SSHClientConfig.load: canonical and final. We should also pass these parameters in sshfs, because right now the local_user and user are passed in their places, which breaks parsing the config in config.py:

https://github.com/fsspec/sshfs/blob/34b52b241d197a83c085c77ca104888e812283d9/sshfs/config.py#L23-L31

https://github.com/ronf/asyncssh/blob/95756fa4eb54826adb9156b87443d945fd1ed4f8/asyncssh/config.py#L428-L430

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in sshfs/config.py at lines 23-31 and compare the SSHClientConfig.load call with asyncssh/config.py lines 428-430 for the v2.19.0 signature. Verify that configuration parsing no longer misassigns local_user and user, using the repository's existing checks if available. Done means sshfs parses the config correctly with asyncssh v2.19.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.