ci: ignore pkg_resources deprecation warning

This commit is contained in:
Fu Hanxi
2023-06-20 08:27:31 +08:00
parent 24b9d38a24
commit 4ff607e9a8
2 changed files with 6 additions and 2 deletions

View File

@@ -62,7 +62,9 @@ build_stage2() {
--build-log ${BUILD_LOG_CMAKE} \
--size-file size.json \
--collect-size-info size_info.txt \
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3 # add esp32h2 back after IDF-5541
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3 \
--ignore-warning-str "DeprecationWarning: pkg_resources is deprecated as an API"
# add esp32h2 back after IDF-5541
}
build_stage1() {
@@ -76,7 +78,8 @@ build_stage1() {
--build-log ${BUILD_LOG_CMAKE} \
--size-file size.json \
--collect-size-info size_info.txt \
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32h2
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32h2 \
--ignore-warning-str "DeprecationWarning: pkg_resources is deprecated as an API"
}
# Default arguments

View File

@@ -15,3 +15,4 @@ CryptographyDeprecationWarning
Warning: \d+/\d+ app partitions are too small for binary
CMake Deprecation Warning at main/lib/tinyxml2/CMakeLists\.txt:11 \(cmake_policy\)
The smallest .+ partition is nearly full \(\d+% free space left\)!
DeprecationWarning: pkg_resources is deprecated as an API