Skip to content

[CI][Python] test-conda-python-3.11-hypothesis fails with 'Python binding for RankQuantileOptions not exposed' #45380

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The test-conda-python-3.11-hypothesis job fails with the following error:

==================================== ERRORS ====================================
__ ERROR collecting opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow __
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/compute.py:209: in _get_options_class
    return globals()[class_name]
E   KeyError: 'RankQuantileOptions'

During handling of the above exception, another exception occurred:
opt/conda/envs/arrow/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/conftest.py:135: in <module>
    import pyarrow.acero  # noqa
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/acero.py:26: in <module>
    from pyarrow.compute import Expression, field
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/compute.py:336: in <module>
    _make_global_functions()
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/compute.py:333: in _make_global_functions
    g[cpp_name] = g[name] = _wrap_function(name, func)
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/compute.py:292: in _wrap_function
    options_class = _get_options_class(func)
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/compute.py:211: in _get_options_class
    warnings.warn("Python binding for {} not exposed"
E   RuntimeWarning: Python binding for RankQuantileOptions not exposed
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!

Component(s)

Continuous Integration, Python

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions