Skip to content

Commit b158051

Browse files
lithomas1gasparitiago
authored andcommitted
CI: Unpin fsspec (pandas-dev#43849)
1 parent 33af57e commit b158051

9 files changed

+11
-12
lines changed

ci/deps/actions-38-db.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- botocore>=1.11
1717
- dask
1818
- fastparquet>=0.4.0
19-
- fsspec>=0.7.4, <2021.6.0
19+
- fsspec>=0.7.4
2020
- gcsfs>=0.6.0
2121
- geopandas
2222
- html5lib

ci/deps/actions-38-slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313

1414
# pandas dependencies
1515
- beautifulsoup4
16-
- fsspec>=0.7.4, <2021.6.0
16+
- fsspec>=0.7.4
1717
- html5lib
1818
- lxml
1919
- matplotlib

ci/deps/actions-39-slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
# pandas dependencies
1616
- beautifulsoup4
1717
- bottleneck
18-
- fsspec>=0.8.0, <2021.6.0
18+
- fsspec>=0.8.0
1919
- gcsfs
2020
- html5lib
2121
- jinja2

ci/deps/actions-39.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
# pandas dependencies
1515
- beautifulsoup4
1616
- bottleneck
17-
- fsspec>=0.8.0, <2021.6.0
17+
- fsspec>=0.8.0
1818
- gcsfs
1919
- html5lib
2020
- jinja2

ci/deps/azure-windows-38.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
- bottleneck
1818
- fastparquet>=0.4.0
1919
- flask
20-
- fsspec>=0.8.0, <2021.6.0
20+
- fsspec>=0.8.0
2121
- matplotlib=3.3.2
2222
- moto>=1.3.14
2323
- numba

ci/deps/azure-windows-39.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
# pandas dependencies
1616
- beautifulsoup4
1717
- bottleneck
18-
- fsspec>=0.8.0, <2021.6.0
18+
- fsspec>=0.8.0
1919
- gcsfs
2020
- html5lib
2121
- jinja2

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ dependencies:
106106
- pytables>=3.6.1 # pandas.read_hdf, DataFrame.to_hdf
107107
- s3fs>=0.4.0 # file IO when using 's3://...' path
108108
- aiobotocore
109-
- fsspec>=0.7.4, <2021.6.0 # for generic remote file operations
109+
- fsspec>=0.7.4 # for generic remote file operations
110110
- gcsfs>=0.6.0 # file IO when using 'gcs://...' path
111111
- sqlalchemy # pandas.read_sql, DataFrame.to_sql
112112
- xarray<0.19 # DataFrame.to_xarray

pandas/tests/io/test_fsspec.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ def cleared_fs():
3939

4040

4141
def test_read_csv(cleared_fs):
42-
from fsspec.implementations.memory import MemoryFile
43-
44-
cleared_fs.store["test/test.csv"] = MemoryFile(data=text)
42+
with cleared_fs.open("test/test.csv", "wb") as w:
43+
w.write(text)
4544
df2 = read_csv("memory://test/test.csv", parse_dates=["dt"])
4645

4746
tm.assert_frame_equal(df1, df2)
@@ -294,7 +293,7 @@ def test_markdown_options(fsspectest):
294293
df = DataFrame({"a": [0]})
295294
df.to_markdown("testmem://afile", storage_options={"test": "md_write"})
296295
assert fsspectest.test[0] == "md_write"
297-
assert fsspectest.cat("afile")
296+
assert fsspectest.cat("testmem://afile")
298297

299298

300299
@td.skip_if_no("pyarrow")

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ python-snappy
7070
tables>=3.6.1
7171
s3fs>=0.4.0
7272
aiobotocore
73-
fsspec>=0.7.4, <2021.6.0
73+
fsspec>=0.7.4
7474
gcsfs>=0.6.0
7575
sqlalchemy
7676
xarray<0.19

0 commit comments

Comments
 (0)