From 49f12ed8c2682264f38b8e6b80808cd497c0afd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Fri, 13 Oct 2023 12:35:10 +0200 Subject: [PATCH] Enable error by default everywhere --- dev/tasks/tasks.yml | 3 +-- python/setup.cfg | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml index 0950378875645..ba23d2a6e4cc9 100644 --- a/dev/tasks/tasks.yml +++ b/dev/tasks/tasks.yml @@ -1241,7 +1241,6 @@ tasks: params: env: PYTHON: "{{ python_version }}" - PYTEST_ARGS: "-W error" image: conda-python {% endfor %} @@ -1254,7 +1253,7 @@ tasks: HYPOTHESIS_PROFILE: ci PYARROW_TEST_HYPOTHESIS: ON # limit to execute hypothesis tests only - PYTEST_ARGS: "-m hypothesis -W error" + PYTEST_ARGS: "-m hypothesis" image: conda-python-pandas test-conda-python-3.10-substrait: diff --git a/python/setup.cfg b/python/setup.cfg index 618fa475cd90d..7bde0789092c5 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -27,7 +27,9 @@ build-dir = doc/_build [tool:pytest] addopts = --ignore=scripts filterwarnings = - error:The SparseDataFrame:FutureWarning + error + # 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