This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new f325ce95a2 GH-38239: [CI][Python] Disable -W error on Python CI jobs
temporarily (#38238)
f325ce95a2 is described below
commit f325ce95a29a4e36567aeaaac0718ad94ab8e125
Author: Joris Van den Bossche <[email protected]>
AuthorDate: Mon Oct 16 10:33:22 2023 +0200
GH-38239: [CI][Python] Disable -W error on Python CI jobs temporarily
(#38238)
* Closes: #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]>
---
dev/tasks/tasks.yml | 3 ++-
python/setup.cfg | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 0950378875..04afe79d4d 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -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 %}
diff --git a/python/setup.cfg b/python/setup.cfg
index 618fa475cd..3df4ff27ef 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -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