try:
    from importlib.metadata import entry_points
except ImportError:  # python < 3.8
    try:
        from importlib_metadata import entry_points
    except ImportError:
        entry_points = None


from . import caching
from ._version import get_versions
from .core import get_fs_token_paths, open, open_files, open_local
from .mapping import FSMap, get_mapper
from .registry import (
    filesystem,
    get_filesystem_class,
    register_implementation,
    registry,
)
from .spec import AbstractFileSystem

__version__ = get_versions()["version"]
del get_versions


__all__ = [
    "AbstractFileSystem",
    "FSMap",
    "filesystem",
    "register_implementation",
    "get_filesystem_class",
    "get_fs_token_paths",
    "get_mapper",
    "open",
    "open_files",
    "open_local",
    "registry",
    "caching",
]

if entry_points is not None:
    entry_points = entry_points()
    for spec in entry_points.get("fsspec.specs", []):
        err_msg = f"Unable to load filesystem from {spec}"
        register_implementation(spec.name, spec.value.replace(":", "."), errtxt=err_msg)

@@ -851,16 +851,29 @@
 t None:%0A
+    try:%0A    
     entr
@@ -898,16 +898,93 @@
 oints()%0A
+    except TypeError:%0A        pass  # importlib-metadata %3C 0.8%0A    else:%0A    
     for 
@@ -1037,16 +1037,20 @@
         
+  
+  
 err_msg 
@@ -1092,16 +1092,20 @@
 %7Bspec%7D%22%0A
+    
         

use importlib-metadata < 0.8