We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packaging
I ran into this error:
----> 1 out = Path("model.json") File ~/mambaforge/envs/test/lib/python3.11/site-packages/upath/core.py:125, in UPath.__new__(cls, protocol, *args, **storage_options) 123 # determine which UPath subclass to dispatch to 124 if cls._protocol_dispatch or cls._protocol_dispatch is None: --> 125 upath_cls = get_upath_class(protocol=pth_protocol) 126 if upath_cls is None: 127 raise ValueError(f"Unsupported filesystem: {pth_protocol!r}") File ~/mambaforge/envs/test/lib/python3.11/site-packages/upath/registry.py:208, in get_upath_class(protocol, fallback) 206 return WindowsUPath 207 else: --> 208 from upath.implementations.local import PosixUPath 210 return PosixUPath 211 if not fallback: File ~/mambaforge/envs/test/lib/python3.11/site-packages/upath/implementations/local.py:15 12 from urllib.parse import SplitResult 14 from fsspec import __version__ as fsspec_version ---> 15 from packaging.version import Version 17 from upath._flavour import FSSpecFlavour as _FSSpecFlavour 18 from upath.core import UPath ModuleNotFoundError: No module named 'packaging'
because packaging isn't listed a required dependency
universal_pathlib/setup.cfg
Lines 25 to 26 in 569ceab
Installing packaging fixed the issue
The text was updated successfully, but these errors were encountered:
Thank you for reporting!
Sorry, something went wrong.
upath.implementations.local: remove dependency on packaging
ef0e8c4
Close fsspec#186
upath.implementations.local: remove dependency on packaging (#187)
7528316
Close #186
Thanks for the quick fix @ap-- !
ap--
Successfully merging a pull request may close this issue.
I ran into this error:
because
packaging
isn't listed a required dependencyuniversal_pathlib/setup.cfg
Lines 25 to 26 in 569ceab
Installing
packaging
fixed the issueThe text was updated successfully, but these errors were encountered: