Skip to content

Commit 285b836

Browse files
Filter all DeprecationWarning's by ArrowTable.to_pandas() (#14989)
This PR filters all `DeprecationWarning`'s that are being originated by `ArrowTable.to_pandas` Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Matthew Roeschke (https://github.com/mroeschke) URL: #14989
1 parent 63a1c9e commit 285b836

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ repos:
9595
# DeprecationWarning: https://github.com/pandas-dev/pandas/issues/54970
9696
exclude: |
9797
(?x)^(
98-
^python/cudf/cudf/core/dtypes.py
98+
^python/cudf/cudf/core/dtypes.py|
99+
^python/cudf/cudf/tests/pytest.ini
99100
)
100101
- id: no-programmatic-xfail
101102
name: no-programmatic-xfail

python/cudf/cudf/tests/pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ filterwarnings =
88
error
99
ignore:::.*xdist.*
1010
ignore:::.*pytest.*
11+
ignore:Passing a BlockManager to DataFrame is deprecated:DeprecationWarning
12+
# Above deprecation warning comes from Pyarrow Table.to_pandas() with pandas-2.2+

0 commit comments

Comments
 (0)