add CN translation for adding python2 deprecation warning(MR 11115)

This commit is contained in:
daiziyan
2020-11-30 20:11:36 +08:00
committed by Martin Gaňo
parent c05fcc6a1d
commit 4c65e031ea
8 changed files with 119 additions and 370 deletions

View File

@@ -77,7 +77,6 @@ build_ssc:
- cd SSC
- MAKEFLAGS= ./ci_build_ssc.sh
<<<<<<< HEAD
build_esp_idf_tests_make:
extends: .build_esp_idf_unit_test_template
variables:

View File

@@ -135,9 +135,9 @@ def check_environment():
# check Python version
if sys.version_info[0] < 3:
print_warning("WARNING: Support for Python 2 is deprecated and will be removed in future versions.")
print("WARNING: Support for Python 2 is deprecated and will be removed in future versions.")
elif sys.version_info[0] == 3 and sys.version_info[1] < 6:
print_warning("WARNING: Python 3 versions older than 3.6 are not supported.")
print("WARNING: Python 3 versions older than 3.6 are not supported.")
# check Python dependencies
print("Checking Python dependencies...")