Skip to content

Commit

Permalink
apacheGH-38239: [CI][Python] Disable -W error on Python CI jobs tempo…
Browse files Browse the repository at this point in the history
…rarily (apache#38238)

* Closes: apache#38239

Lead-authored-by: Joris Van den Bossche <[email protected]>
Co-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Jacob Wujciak-Jens <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
3 people authored and Jeremy Aguilon committed Oct 23, 2023
1 parent 04f04ff commit 85185f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,8 @@ tasks:
params:
env:
PYTHON: "{{ python_version }}"
PYTEST_ARGS: "-W error"
# Temporarily disable error on Warning: https://github.com/apache/arrow/issues/38239
# PYTEST_ARGS: "-W error -W 'ignore:Setting custom ClientSession:DeprecationWarning'"
image: conda-python
{% endfor %}

Expand Down
2 changes: 2 additions & 0 deletions python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ build-dir = doc/_build
addopts = --ignore=scripts
filterwarnings =
error:The SparseDataFrame:FutureWarning
# https://github.com/apache/arrow/issues/38239
ignore:Setting custom ClientSession:DeprecationWarning
# Get a debug traceback when a test takes a really long time
faulthandler_timeout = 300

Expand Down

0 comments on commit 85185f7

Please sign in to comment.