From b6f56539480e37c870f1007125b01acaada319b7 Mon Sep 17 00:00:00 2001 From: Matthew Barber Date: Thu, 29 Sep 2022 11:50:14 +0100 Subject: [PATCH 1/2] Use latest stable pandas builds on CI --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 706c2a6..f82f209 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: run: | pip install ray git+https://github.com/modin-project/modin pip install vaex # use stable as no nightly builds and long build time - pip install git+https://github.com/pandas-dev/pandas --no-deps --ignore-installed # TODO: use nightly builds again + pip install pandas --no-deps --ignore-installed # use stable as erroneous nightly builds and long build time - name: Run tests run: | pytest tests/ -v --ci From eabd82c65aea4e0b401dc488adbdb39ba399c191 Mon Sep 17 00:00:00 2001 From: Matthew Barber Date: Thu, 29 Sep 2022 11:56:34 +0100 Subject: [PATCH 2/2] Strict xfails on CI, remove missing `__dataframe__` xfails --- tests/conftest.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 12faf24..b4fc2fc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,12 +39,6 @@ def pytest_configure(config): ci_xfail_ids = [ - # vaex's and cudf's interchange dataframe doesn't have __dataframe__() - # See https://github.com/data-apis/dataframe-api/issues/80 - "test_dataframe_object.py::test_dunder_dataframe[vaex]", - "test_signatures.py::test_dataframe_method[vaex-__dataframe__]", - "test_dataframe_object.py::test_dunder_dataframe[cudf]", - "test_signatures.py::test_dataframe_method[cudf-__dataframe__]", # https://github.com/vaexio/vaex/pull/2150 "tests/test_signatures.py::test_column_method[vaex-size]", # https://github.com/rapidsai/cudf/issues/11320 @@ -91,7 +85,7 @@ def pytest_collection_modifyitems(config, items): if config.getoption("--ci"): for item in items: if any(id_ in item.nodeid for id_ in ci_xfail_ids): - item.add_marker(pytest.mark.xfail()) + item.add_marker(pytest.mark.xfail(strict=True)) elif any(id_ in item.nodeid for id_ in ci_skip_ids): item.add_marker(pytest.mark.skip("flaky")) elif r_cudf_roundtrip.search(item.nodeid):