- Notifications
You must be signed in to change notification settings - Fork 409
Closed
Description
https://github.com/deepghs/imgutils/actions/runs/14158666336/job/39661212162
Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.8.18/x64/bin/hfutils", line 5, in <module> from hfutils.entry import hfutilscli File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/hfutils/entry/__init__.py", line 1, in <module> from .cli import cli as hfutilscli File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/hfutils/entry/cli.py", line 1, in <module> from .clone import _add_clone_subcommand File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/hfutils/entry/clone.py", line 9, in <module> from ..operate.base import REPO_TYPES, RepoTypeTyping File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/hfutils/operate/__init__.py", line 1, in <module> from .base import get_hf_client, get_hf_fs, list_all_with_pattern, list_files_in_repository File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/hfutils/operate/base.py", line 24, in <module> from huggingface_hub import HfApi, HfFileSystem File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/__init__.py", line 962, in __getattr__ submod = importlib.import_module(submod_path) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py", line 1[27](https://github.com/deepghs/imgutils/actions/runs/14158666336/job/39661212162#step:15:28), in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/hf_file_system.py", line 12, in <module> import fsspec File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/fsspec/__init__.py", line 3, in <module> from . import caching File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/fsspec/caching.py", line 40, in <module> MultiFetcher = Callable[list[[int, int]], bytes] # Maps [(start, end)] to bytes TypeError: 'type' object is not subscriptable make: *** [Makefile:52: dataset] Error 1
only reproducable on fsspec 2025.3.1 + python3.8, on all platforms (ubuntu/windows/macos)
no this issue on fsspec 2025.3.0 (see: https://github.com/deepghs/imgutils/actions/runs/14156328031/job/39658736867, exactly the same script)
amotl
Metadata
Metadata
Assignees
Labels
No labels