From d3c35e1c5f2a3130ea7899667e60c8af33a490a3 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Tue, 15 Dec 2020 12:24:50 +0700 Subject: [PATCH] ci: Ignore Python 2 deprecation warning --- tools/ci/build_examples.sh | 2 ++ tools/ci/check_build_warnings.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci/build_examples.sh b/tools/ci/build_examples.sh index b0f680285f..539dda552c 100755 --- a/tools/ci/build_examples.sh +++ b/tools/ci/build_examples.sh @@ -191,6 +191,8 @@ library/error\.o\ \|changes choice state\ \|Compiler version is not supported\ \|Toolchain version is not supported\ +\|Python 3 versions older than 3\.6 are not supported\.\ +\|Support for Python 2 is deprecated and will be removed in future versions\.\ " sort -u "${LOG_SUSPECTED}" | grep -v "${IGNORE_WARNS}" \ diff --git a/tools/ci/check_build_warnings.py b/tools/ci/check_build_warnings.py index dc24b4fd67..d08600cabf 100755 --- a/tools/ci/check_build_warnings.py +++ b/tools/ci/check_build_warnings.py @@ -31,7 +31,7 @@ IGNORE_WARNS = [ r"crosstool_version_check\.cmake", r"CryptographyDeprecationWarning", r"Python 3 versions older than 3.6 are not supported.", - r"Python 2 is deprecated and will be removed in future versions." + r"Support for Python 2 is deprecated and will be removed in future versions.", ] ]