From 9aaced3b181afa09121e991738dba7aaec34ed69 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Wed, 21 Dec 2022 19:21:50 +0000 Subject: [PATCH 1/3] pytest.ini: Ignore deprecation warnings in dependencies FIX Ignore some deprecation warnings inside some dependencies to avoid test failure. --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index 93fb8e33f..fc14d774a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -15,3 +15,5 @@ filterwarnings = ignore::PendingDeprecationWarning:: ignore::DeprecationWarning:jupyter_client.*: ignore::DeprecationWarning:devlib.*: + ignore::DeprecationWarning:bokeh.*: + ignore::DeprecationWarning:traitlets.*: -- GitLab From 2439e3a89728d471e3d3859e6e20f5fe5bae4149 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Wed, 21 Dec 2022 20:41:59 +0000 Subject: [PATCH 2/3] lisa.analysis.rta: Silence pandas warning FIX Avoid pandas warning by forcing the current behavior. --- lisa/analysis/rta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/analysis/rta.py b/lisa/analysis/rta.py index d481fddc6..fc6e7cca7 100644 --- a/lisa/analysis/rta.py +++ b/lisa/analysis/rta.py @@ -285,7 +285,7 @@ class RTAEventsAnalysis(TraceAnalysisBase): return df - df = df.groupby(['__pid', '__comm'], observed=True).apply(f) + df = df.groupby(['__pid', '__comm'], observed=True, group_keys=False).apply(f) return df -- GitLab From 4cad66d2f9513f606b92226bcae7d0384a934c88 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Wed, 21 Dec 2022 21:27:49 +0000 Subject: [PATCH 3/3] tools/lisa-doc-build: Do not treat warnings as error Doc build currently generates warnings due to some dependencies triggering warnings in other dependencies. In order to avoid making the whole CI test fail because of that, remove -W from SPHINXOPTS. --- tools/lisa-doc-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lisa-doc-build b/tools/lisa-doc-build index ba795aa67..271caa55f 100755 --- a/tools/lisa-doc-build +++ b/tools/lisa-doc-build @@ -24,7 +24,7 @@ cd "$LISA_HOME/doc" || exit 1 # Build the main documentation ############################## -make SPHINXOPTS='-n --no-color -W --keep-going -T -j auto' html || ret=1 +make SPHINXOPTS='-n --no-color --keep-going -T -j auto' html || ret=1 echo echo "Building man pages" -- GitLab