diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f6283619..31de68a0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -154,15 +154,17 @@ jobs: pip install pytest-localserver pytest-xdist pytest-asyncio pip install meson-python versioneer # Needed for pandas build python setup.py build_ext --inplace + pip uninstall -y pandas # remove site-packages version python -m pip install ./pandas --no-build-isolation -C compile-args="-j4" - name: Run Tests shell: bash -l {0} run: | - pytest -v fastparquet/ # fastparquet test suite against dev pandas - pytest --verbose pandas/pandas/tests/io/test_parquet.py + PY_IGNORE_IMPORTMISMATCH=1 pytest -v fastparquet/ # fastparquet test suite against dev pandas + cd pandas + PY_IGNORE_IMPORTMISMATCH=1 pytest --verbose pandas/tests/io/test_parquet.py -o xfail_strict=False # Test parquet with different filesystems - pytest --verbose pandas/pandas/tests/io/test_gcs.py pandas/pandas/tests/io/test_fsspec.py -k "parquet" -o xfail_strict=False + PY_IGNORE_IMPORTMISMATCH=1 pytest --verbose pandas/tests/io/test_gcs.py pandas/tests/io/test_fsspec.py -k "parquet" -o xfail_strict=False win: name: win diff --git a/fastparquet/test/test_dataframe.py b/fastparquet/test/test_dataframe.py index d58302f2..4bd0f0b0 100644 --- a/fastparquet/test/test_dataframe.py +++ b/fastparquet/test/test_dataframe.py @@ -132,7 +132,7 @@ def test_timestamps(): def test_pandas_hive_serialization(tmpdir): - parquet_dir = tmpdir.join("test.par") + parquet_dir = str(tmpdir.join("test.par")) column = "data" df = pd.DataFrame( columns=[column], data=[("42",), ("",), ("0",), ("1",), ("0.0",)]