Skip to content

Require Python 3.11+, aligned with fsspec - #82

Merged
shcheklein merged 1 commit into
mainfrom
require-python-3.11
Nov 11, 2026
Merged

shcheklein merged 1 commit into
mainfrom
require-python-3.11

Conversation

@shcheklein

Copy link
Copy Markdown
Collaborator

fsspec now requires Python >= 3.11 (fsspec/filesystem_spec#2393, after the 2026.9.0 release), and asyncssh dropped 3.9 in 2.22.0. This aligns sshfs with fsspec.

  • requires-python = ">=3.11"; drop the 3.9 and 3.10 classifiers.
  • CI: test 3.11–3.14 on ubuntu-latest and macos-latest, with fail-fast: false so one failing job doesn't cancel the others. This also fixes the current CI failure: ubuntu-latest is now Ubuntu 26.04, and actions/setup-python has no 3.9 build for it, so the 3.9 job failed at setup and cancelled the rest of the matrix.
  • black target-version = ['py311']. No formatting changes result.
  • The pre-commit workflow only ran on pushes to master, but the default branch is main.
  • Code: Optional[X] → X | None, timezone.utc → datetime.UTC, and tests import entry_points from the stdlib importlib.metadata, so importlib-metadata is removed from requirements-dev.txt.

pip keeps installing the current sshfs release (2026.8.0) on Python 3.9 and 3.10.

Checked locally: ruff check --select UP --target-version py311 finds nothing else to update, and black 26.1.0 and isort 5.10.1 (the pre-commit versions) report no changes.

Unblocks CI for #77.

🤖 Generated with Claude Code

fsspec now requires Python >= 3.11 (fsspec/filesystem_spec#2393), and
asyncssh dropped 3.9 in 2.22.0.

- requires-python >= 3.11; drop the 3.9 and 3.10 classifiers.
- CI: test 3.11-3.14 with fail-fast disabled. ubuntu-latest is now
  Ubuntu 26.04, which has no setup-python build for 3.9, so the 3.9
  job failed at setup and cancelled the rest of the matrix.
- black target-version py311.
- Run the pre-commit workflow on pushes to main (was master).
- Use X | None, datetime.UTC, and the stdlib importlib.metadata;
  drop importlib-metadata from the dev requirements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shcheklein
shcheklein merged commit 8ae04c9 into main Nov 11, 2026
10 checks passed
shcheklein added a commit to xcRRRRt/fsspec-sshfs that referenced this pull request Nov 11, 2026
Resolve the test import conflict: keep the extended asyncssh.sftp
import and use entry_points from the stdlib importlib.metadata, as on
main after the Python 3.11+ change (fsspec#82).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant