cuspatial icon indicating copy to clipboard operation
cuspatial copied to clipboard

[BUG]: nightly tests broken: "No module named 'pylibcudf.nvtext.wordpiece_tokenize'"

Open jameslamb opened this issue 8 months ago • 0 comments

Version

25.04

On which installation method(s) does this occur?

No response

Describe the issue

As of this writing, the last successful nightly test run o nbranch-25.04 in this repo was 3 days ago (March 4).

ref: https://github.com/rapidsai/cuspatial/actions/workflows/test.yaml?query=branch%3Abranch-25.04

Since then, all Python tests (wheel and conda packages) have been failing like this:

______________________ ERROR collecting test_transform.py ______________________
ImportError while importing test module '/__w/cuspatial/cuspatial/python/cuproj/cuproj/tests/test_transform.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/conda/envs/test/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_transform.py:11: in <module>
    import cuspatial
/opt/conda/envs/test/lib/python3.10/site-packages/cuspatial/__init__.py:16: in <module>
    from .core.geodataframe import GeoDataFrame
/opt/conda/envs/test/lib/python3.10/site-packages/cuspatial/core/geodataframe.py:15: in <module>
    from cuspatial.core.geoseries import GeoSeries
/opt/conda/envs/test/lib/python3.10/site-packages/cuspatial/core/geoseries.py:31: in <module>
    from cuspatial.core.binops.distance_dispatch import DistanceDispatch
/opt/conda/envs/test/lib/python3.10/site-packages/cuspatial/core/binops/distance_dispatch.py:6: in <module>
    from cuspatial._lib.distance import (
distance.pyx:1: in init cuspatial._lib.distance
    ???
E   ModuleNotFoundError: No module named 'pylibcudf.nvtext.wordpiece_tokenize'

Minimum reproducible example

See any recent nightly test run, e.g. https://github.com/rapidsai/cuspatial/actions/runs/13715106140/job/38358496352

Relevant log output

N/A

Environment details

N/A

Other/Misc.

This looks potentially relevant: https://github.com/rapidsai/cudf/pull/17600

jameslamb avatar Mar 07 '25 16:03 jameslamb