From 2a6f60ebba2519d42e2c093c6577c52db63fa56a Mon Sep 17 00:00:00 2001 From: Erik Welch Date: Tue, 7 Mar 2023 18:35:39 +0100 Subject: [PATCH] Handle deprecation warning added in setuptools v67.5.0 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index adbf2d5b0..a369253e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,6 +156,9 @@ filterwarnings = [ # https://setuptools.pypa.io/en/latest/history.html#v67-3-0 # MAINT: check if this is still necessary in 2025 "ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning:pkg_resources", + # And this deprecation warning was added in setuptools v67.5.0 (8 Mar 2023). See: + # https://setuptools.pypa.io/en/latest/history.html#v67-5-0 + "ignore:pkg_resources is deprecated as an API:DeprecationWarning:pkg_resources", ] [tool.coverage.run]