diff --git a/libbeat/tests/system/requirements.txt b/libbeat/tests/system/requirements.txt index 449ef4f12efe..fc36ca1c2ea0 100644 --- a/libbeat/tests/system/requirements.txt +++ b/libbeat/tests/system/requirements.txt @@ -41,7 +41,7 @@ PyYAML==5.4.1 redis==2.10.6 requests==2.25.1 semver==2.8.1 -setuptools==59.6.0 +setuptools==65.5.1 six==1.15.0 stomp.py==4.1.22 termcolor==1.1.0 diff --git a/libbeat/tests/system/requirements_aix.txt b/libbeat/tests/system/requirements_aix.txt index 5d6a960472a7..1e01508f0ef1 100644 --- a/libbeat/tests/system/requirements_aix.txt +++ b/libbeat/tests/system/requirements_aix.txt @@ -40,7 +40,7 @@ PyYAML==5.4.1 redis==2.10.6 requests==2.25.1 semver==2.8.1 -setuptools==59.6.0 +setuptools==65.5.1 six==1.15.0 stomp.py==4.1.22 termcolor==1.1.0 diff --git a/pytest.ini b/pytest.ini index ea6388ddd7ee..18f364eb7953 100644 --- a/pytest.ini +++ b/pytest.ini @@ -11,5 +11,8 @@ timeout_func_only = True # Fail on deprecation warnings filterwarnings = - error::DeprecationWarning error::yaml.YAMLLoadWarning + error::DeprecationWarning + # Ignore distutil Version class deprecation in the compose package until it can be upgraded not to use them. + ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning:.*compose.* + ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning:.*docker.*