Ver código fonte

ci: Ignore Python 2 deprecation warning

Anton Maklakov 5 anos atrás
pai
commit
d3c35e1c5f
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 0
      tools/ci/build_examples.sh
  2. 1 1
      tools/ci/check_build_warnings.py

+ 2 - 0
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}" \

+ 1 - 1
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.",
     ]
 ]