Skip to content

CI: Unpin fsspec #43849

New issue

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

Merged
merged 3 commits into from
Oct 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/deps/actions-38-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- botocore>=1.11
- dask
- fastparquet>=0.4.0
- fsspec>=0.7.4, <2021.6.0
- fsspec>=0.7.4
- gcsfs>=0.6.0
- geopandas
- html5lib
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-38-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:

# pandas dependencies
- beautifulsoup4
- fsspec>=0.7.4, <2021.6.0
- fsspec>=0.7.4
- html5lib
- lxml
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-39-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
# pandas dependencies
- beautifulsoup4
- bottleneck
- fsspec>=0.8.0, <2021.6.0
- fsspec>=0.8.0
- gcsfs
- html5lib
- jinja2
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
# pandas dependencies
- beautifulsoup4
- bottleneck
- fsspec>=0.8.0, <2021.6.0
- fsspec>=0.8.0
- gcsfs
- html5lib
- jinja2
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/azure-windows-38.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- bottleneck
- fastparquet>=0.4.0
- flask
- fsspec>=0.8.0, <2021.6.0
- fsspec>=0.8.0
- matplotlib=3.3.2
- moto>=1.3.14
- numba
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/azure-windows-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
# pandas dependencies
- beautifulsoup4
- bottleneck
- fsspec>=0.8.0, <2021.6.0
- fsspec>=0.8.0
- gcsfs
- html5lib
- jinja2
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ dependencies:
- pytables>=3.6.1 # pandas.read_hdf, DataFrame.to_hdf
- s3fs>=0.4.0 # file IO when using 's3://...' path
- aiobotocore
- fsspec>=0.7.4, <2021.6.0 # for generic remote file operations
- fsspec>=0.7.4 # for generic remote file operations
- gcsfs>=0.6.0 # file IO when using 'gcs://...' path
- sqlalchemy # pandas.read_sql, DataFrame.to_sql
- xarray<0.19 # DataFrame.to_xarray
Expand Down
7 changes: 3 additions & 4 deletions pandas/tests/io/test_fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ def cleared_fs():


def test_read_csv(cleared_fs):
from fsspec.implementations.memory import MemoryFile

cleared_fs.store["test/test.csv"] = MemoryFile(data=text)
with cleared_fs.open("test/test.csv", "wb") as w:
w.write(text)
df2 = read_csv("memory://test/test.csv", parse_dates=["dt"])

tm.assert_frame_equal(df1, df2)
Expand Down Expand Up @@ -294,7 +293,7 @@ def test_markdown_options(fsspectest):
df = DataFrame({"a": [0]})
df.to_markdown("testmem://afile", storage_options={"test": "md_write"})
assert fsspectest.test[0] == "md_write"
assert fsspectest.cat("afile")
assert fsspectest.cat("testmem://afile")


@td.skip_if_no("pyarrow")
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ python-snappy
tables>=3.6.1
s3fs>=0.4.0
aiobotocore
fsspec>=0.7.4, <2021.6.0
fsspec>=0.7.4
gcsfs>=0.6.0
sqlalchemy
xarray<0.19
Expand Down