Skip to content

[CI][Python] test-conda-python-3.11-hypothesis failing due to gandiva being deprecated #49846

@AlenkaF

Description

@AlenkaF

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

The hypothesis build is failing as it seems it is not picking up the gandiva filterwarning from source setup.cfg:

==================================== ERRORS ====================================
__ ERROR collecting opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow __
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:197: in exec_module
    exec(co, module.__dict__)
opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/conftest.py:126: in <module>
    import pyarrow.gandiva  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^
pyarrow/gandiva.pyx:79: in init pyarrow.gandiva
    ???
E   FutureWarning: pyarrow.gandiva is deprecated as of 24.0.0 and will be removed in a future version.
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.90s ===============================
``see: [test-conda-python-3.11-hypothesis](https://github.com/ursacomputing/crossbow/actions/runs/24810904545/job/72615383517)

### Component(s)

Continuous Integration, Python

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions