From a5210f475918559b9203f9e927dd0d8ca0e5e5b9 Mon Sep 17 00:00:00 2001 From: Andreas Poehlmann Date: Mon, 1 Apr 2024 15:06:23 +0200 Subject: [PATCH] upath: exclude fsspec==2024.3.1 for now * _strip_protocol signature changes break local fs tests * Windows URI parsing has issues --- setup.cfg | 2 +- upath/tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 2c0b1a9b..09bd660f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,7 @@ python_requires = >=3.8 zip_safe = False packages = find: install_requires= - fsspec>=2022.1.0 + fsspec >=2022.1.0,!=2024.3.1 [options.extras_require] tests = diff --git a/upath/tests/conftest.py b/upath/tests/conftest.py index 2b9875b0..a2f85b0f 100644 --- a/upath/tests/conftest.py +++ b/upath/tests/conftest.py @@ -24,7 +24,7 @@ class DummyTestFS(LocalFileSystem): root_marker = "/" @classmethod - def _strip_protocol(cls, path, **_): + def _strip_protocol(cls, path): path = stringify_path(path) if path.startswith("mock://"): path = path[7:]