From 37e4439328315dece1ee54ade0fff1f17a5ef8b2 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Fri, 6 Sep 2024 05:43:28 -0400 Subject: [PATCH] refactor(dependencies): make `fsspec` a test-only dependency --- poetry.lock | 20 ++++++++++---------- pyproject.toml | 4 ++-- requirements-dev.txt | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/poetry.lock b/poetry.lock index b94336506479..124ad410d3a4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1902,13 +1902,13 @@ files = [ [[package]] name = "fsspec" -version = "2024.9.0" +version = "2024.6.1" description = "File-system specification" -optional = true +optional = false python-versions = ">=3.8" files = [ - {file = "fsspec-2024.9.0-py3-none-any.whl", hash = "sha256:a0947d552d8a6efa72cc2c730b12c41d043509156966cca4fb157b0f2a0c574b"}, - {file = "fsspec-2024.9.0.tar.gz", hash = "sha256:4b0afb90c2f21832df142f292649035d80b421f60a9e1c027802e5a0da2b04e8"}, + {file = "fsspec-2024.6.1-py3-none-any.whl", hash = "sha256:3cb443f8bcd2efb31295a5b9fdb02aee81d8452c80d28f97a6d0959e6cee101e"}, + {file = "fsspec-2024.6.1.tar.gz", hash = "sha256:fad7d7e209dd4c1208e3bbfda706620e0da5142bebbd9c384afb95b07e798e49"}, ] [package.extras] @@ -1941,19 +1941,19 @@ tqdm = ["tqdm"] [[package]] name = "gcsfs" -version = "2024.9.0.post1" +version = "2024.6.1" description = "Convenient Filesystem interface over GCS" optional = true python-versions = ">=3.8" files = [ - {file = "gcsfs-2024.9.0.post1-py2.py3-none-any.whl", hash = "sha256:f3ab9d3bedc45da8cf40baed7c3a1e1694e8f599160d9138d78f0ef25e4a3ca1"}, - {file = "gcsfs-2024.9.0.post1.tar.gz", hash = "sha256:7ca70ee9d7c7dbce1a3e36b4883e14102c2d7b4284f49e242843a437bc684684"}, + {file = "gcsfs-2024.6.1-py2.py3-none-any.whl", hash = "sha256:13fd18095425e54e248870594fd155812723966b1bda3b102b3a5c44ec436a03"}, + {file = "gcsfs-2024.6.1.tar.gz", hash = "sha256:e8858c7a893b2265e9bfce2fe270a024a2e348c74c23528801db388fc0224ed7"}, ] [package.dependencies] aiohttp = "<4.0.0a0 || >4.0.0a0,<4.0.0a1 || >4.0.0a1" decorator = ">4.1.2" -fsspec = "2024.9.0" +fsspec = "2024.6.1" google-auth = ">=1.2" google-auth-oauthlib = "*" google-cloud-storage = "*" @@ -7920,7 +7920,7 @@ decompiler = ["black"] deltalake = ["deltalake"] druid = ["numpy", "pandas", "pyarrow", "pyarrow-hotfix", "pydruid", "rich"] duckdb = ["duckdb", "numpy", "pandas", "pyarrow", "pyarrow-hotfix", "rich"] -examples = ["fsspec", "pins"] +examples = ["pins"] exasol = ["numpy", "pandas", "pyarrow", "pyarrow-hotfix", "pyexasol", "rich"] flink = ["numpy", "pandas", "pyarrow", "pyarrow-hotfix", "rich"] geospatial = ["geoarrow-types", "geopandas", "pyproj", "shapely"] @@ -7941,4 +7941,4 @@ visualization = ["graphviz"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "3543f71a0521a2eb3856a4caa65152e378b74034f1686da84122b7920a3cee17" +content-hash = "4004a68834cc4a029c319c7d13237802281d5ed16e43c33cffed1b1330bf94c3" diff --git a/pyproject.toml b/pyproject.toml index 48ca262d7581..f4010a69fcbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,6 @@ impyla = { version = ">=0.17,<1", optional = true } oracledb = { version = ">=1.3.1,<3", optional = true } packaging = { version = ">=21.3,<25", optional = true } pins = { version = ">=0.8.3,<1", extras = ["gcs"], optional = true } -fsspec = { version = "<2024.9.1", optional = true } polars = { version = ">=1,<2", optional = true } psycopg2 = { version = ">=2.8.4,<3", optional = true } pydata-google-auth = { version = ">=1.4.0,<2", optional = true } @@ -107,6 +106,7 @@ tqdm = ">=4.66.1,<5" [tool.poetry.group.test.dependencies] cloudpickle = "*" filelock = ">=3.7.0,<4" +fsspec = "<2024.9.1" hypothesis = ">=6.58.0,<7" packaging = ">=21.3,<25" pytest = ">=8.2.0,<9" @@ -249,7 +249,7 @@ trino = ["trino", "pyarrow", "pyarrow-hotfix", "numpy", "pandas", "rich"] visualization = ["graphviz"] decompiler = ["black"] deltalake = ["deltalake"] -examples = ["pins", "fsspec"] +examples = ["pins"] geospatial = ["geoarrow-types", "geopandas", "pyproj", "shapely"] [tool.poetry.plugins."ibis.backends"] diff --git a/requirements-dev.txt b/requirements-dev.txt index b93ca359ee70..342a58f09554 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -62,8 +62,8 @@ filelock==3.15.4 ; python_version >= "3.10" and python_version < "4.0" fonttools==4.53.1 ; python_version >= "3.10" and python_version < "3.13" fqdn==1.5.1 ; python_version >= "3.10" and python_version < "3.13" frozenlist==1.4.1 ; python_version >= "3.10" and python_version < "4.0" -fsspec==2024.9.0 ; python_version >= "3.10" and python_version < "4.0" -gcsfs==2024.9.0.post1 ; python_version >= "3.10" and python_version < "4.0" +fsspec==2024.6.1 ; python_version >= "3.10" and python_version < "4.0" +gcsfs==2024.6.1 ; python_version >= "3.10" and python_version < "4.0" geoarrow-types==0.2.0 ; python_version >= "3.10" and python_version < "4.0" geopandas==1.0.1 ; python_version >= "3.10" and python_version < "4.0" google-api-core==2.19.2 ; python_version >= "3.10" and python_version < "4.0"