Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/developers/python/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ certain components to be built):
* - ``ARROW_ORC``
- ``PYARROW_WITH_ORC``
* - ``ARROW_GANDIVA``
- ``PYARROW_WITH_GANDIVA``
- ``PYARROW_WITH_GANDIVA`` (deprecated since version 24.0.0)

Installing Nightly Packages
===========================
Expand Down
2 changes: 1 addition & 1 deletion docs/source/developers/python/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The test groups currently include:

* ``dataset``: Apache Arrow Dataset tests
* ``flight``: Flight RPC tests
* ``gandiva``: tests for Gandiva expression compiler (uses LLVM)
* ``gandiva``: tests for Gandiva expression compiler (uses LLVM, deprecated since version 24.0.0)
* ``hdfs``: tests that use libhdfs to access the Hadoop filesystem
* ``hypothesis``: tests that use the ``hypothesis`` module for generating
random test cases. Note that ``--hypothesis`` doesn't work due to a quirk
Expand Down
8 changes: 8 additions & 0 deletions python/pyarrow/gandiva.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ from pyarrow.includes.libgandiva cimport (
GetRegisteredFunctionSignatures)


import warnings
warnings.warn(
"pyarrow.gandiva is deprecated as of 24.0.0 and will be removed in a future version.",
FutureWarning,
stacklevel=2,
)


cdef class Node(_Weakrefable):
cdef:
shared_ptr[CNode] node
Expand Down
2 changes: 2 additions & 0 deletions python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ build-dir = doc/_build
[tool:pytest]
addopts = --ignore=scripts
filterwarnings =
# https://github.com/apache/arrow/issues/49227
ignore:pyarrow.gandiva is deprecated:FutureWarning
error:The SparseDataFrame:FutureWarning
# https://github.com/apache/arrow/issues/38239
ignore:Setting custom ClientSession:DeprecationWarning
Expand Down
Loading