diff --git a/pyproject.toml b/pyproject.toml index b8355601a6..878552f1fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,6 +150,12 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" [tool.pytest.ini_options] markers = [] +filterwarnings = [ + # requests <= 2.32.5 emits RequestsDependencyWarning when chardet >= 6 is installed. + # Keep the chardet < 6 pin in requirements.d/development.txt until the upstream fix + # in requests is released; suppress the noisy warning during tests in the meantime. + "ignore::requests.exceptions.RequestsDependencyWarning", +] [tool.mypy] python_version = "3.10"