Răsfoiți Sursa

ci: Ignore Python 2 deprecation warning

Anton Maklakov 5 ani în urmă
părinte
comite
a10d115e84
2 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 2 0
      tools/ci/build_examples.sh
  2. 2 1
      tools/ci/check_build_warnings.py

+ 2 - 0
tools/ci/build_examples.sh

@@ -187,6 +187,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}" \

+ 2 - 1
tools/ci/check_build_warnings.py

@@ -30,7 +30,8 @@ IGNORE_WARNS = [
         r"changes choice state",
         r"crosstool_version_check\.cmake",
         r"CryptographyDeprecationWarning",
-        r"Python 3 versions older than 3.6 are not supported."
+        r"Python 3 versions older than 3.6 are not supported.",
+        r"Support for Python 2 is deprecated and will be removed in future versions.",
     ]
 ]