[BUG]: test_intersections tests failing on 24.08
jameslamb opened this issue · comments
Version
24.08
On which installation method(s) does this occur?
No response
Describe the issue
I'm seeing these tests fail across PRs targeting branch-24.08
:
FAILED tests/basicpreds/test_intersections.py::test_one_pair - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_two_pairs - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_one_pair_with_overlap - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_two_pairs_with_intersect_and_overlap - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_one_pair_multilinestring - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_three_pairs_identical_has_ring - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
FAILED tests/basicpreds/test_intersections.py::test_three_pairs_identical_no_ring - AssertionError: Series Expected type <class 'pandas.core.series.Series'>, found <class 'pandas.core.indexes.base.Index'> instead
Minimum reproducible example
Observed this in the following PRs:
ref: #1393 (comment)
Relevant log output
No response
Environment details
In those failing PRs, I see these relevant versions:
cudf 24.08.00a106 cuda11_py39_240605_g20aa4442d2_106 rapidsai-nightly
...
geopandas 0.14.4 pyhd8ed1ab_0 conda-forge
geopandas-base 0.14.4 pyha770c72_0 conda-forge
...
pandas 2.2.2 py39hfc16268_1 conda-forge
...
pyarrow 16.1.0 py39h8003fee_1 conda-forge
pyarrow-core 16.1.0 py39h176f5a7_1_cpu conda-forge
I see the failures across all combinations of Python version, CUDA version, and architecture... and for both wheels and conda packages.
Other/Misc.
No response
With no investigation, just based on the fact that we're seeing an Index where a Series was expected, I'm going to guess that this is rapidsai/cudf#15833 @mroeschke
Oops sorry opened #1398 to address this
Thanks very much @mroeschke !