Skip to content

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

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

Activity

  1. self-assigned this
    on Apr 23, 2026
  2. added a commit that references this issue on Apr 24, 2026
  3. added this to the 25.0.0 milestone on Apr 24, 2026
  4. raulcd commented on Apr 24, 2026

    @raulcd
    Member

    Issue resolved by pull request 49847
    #49847

  5. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions