CI Ignore distutils deprecation warnings
@@ -44,11 +44,17 @@ if [[ "$COVERAGE" == "true" ]]; then
fi
if [[ -n "$CHECK_WARNINGS" ]]; then
- # numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib removes its usage
- TEST_CMD="$TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Wignore:tostring:DeprecationWarning"
+ TEST_CMD="$TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning"
+
+ # numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib
+ # removes its usage
+ TEST_CMD="$TEST_CMD -Wignore:tostring:DeprecationWarning"
# Python 3.10 deprecates distutils, which is imported by numpy internally
TEST_CMD="$TEST_CMD -Wignore:The\ distutils:DeprecationWarning"
+
+ # Ignore distutils deprecation warning, used by joblib internally
+ TEST_CMD="$TEST_CMD -Wignore:distutils\ Version\ classes\ are\ deprecated:DeprecationWarning"
fi
if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
