Skip to content

Commit f0f9ffe

Browse files
authored
FIX-modin-project#6072: unpin pyarrow and xfail test_read_parquet_pandas_index test (modin-project#6223)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 7029a70 commit f0f9ffe

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- pandas==1.5.3
66
- numpy>=1.18.5
77
- ray-default>=1.13.0
8-
- pyarrow<12 # workaround for https://github.com/modin-project/modin/issues/6072
8+
- pyarrow
99
# workaround for https://github.com/conda/conda/issues/11744
1010
- grpcio!=1.45.*
1111
- grpcio!=1.46.*

modin/pandas/test/test_io.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,12 @@ def test_read_parquet_partitioned_directory(
15411541
reason="The reason of tests fail in `cloud` mode is unknown for now - issue #3264",
15421542
)
15431543
def test_read_parquet_pandas_index(self, engine):
1544+
if (
1545+
version.parse(pa.__version__) >= version.parse("12.0.0")
1546+
and version.parse(pd.__version__) < version.parse("2.0.0")
1547+
and engine == "pyarrow"
1548+
):
1549+
pytest.xfail("incompatible versions; see #6072")
15441550
# Ensure modin can read parquet files written by pandas with a non-RangeIndex object
15451551
pandas_df = pandas.DataFrame(
15461552
{

requirements/env_hdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- pandas==1.5.3
6-
- pyarrow<12 # workaround for https://github.com/modin-project/modin/issues/6072
6+
- pyarrow
77
- numpy>=1.18.5
88
- fsspec
99
- pip

requirements/env_unidist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- unidist-mpi>=0.2.1
66
- pandas==1.5.3
77
- numpy>=1.18.5
8-
- pyarrow<12 # workaround for https://github.com/modin-project/modin/issues/6072
8+
- pyarrow
99
- fsspec
1010
- xarray
1111
- Jinja2

requirements/requirements-no-engine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
dependencies:
44
- pandas==1.5.3
55
- numpy>=1.18.5
6-
- pyarrow<12 # workaround for https://github.com/modin-project/modin/issues/6072
6+
- pyarrow
77
- fsspec
88
- xarray
99
- Jinja2

0 commit comments

Comments
 (0)