From 2759ce5fad6b37087d88e778a513710d396eaf22 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 17 Jan 2024 16:27:44 -0600 Subject: [PATCH] Update setuptools deprecations AGAIN It seems that setuptools has made changes which require us to update our deprecation warning suppression. I think it actually changed twice: once that regressed the stacklevel for the warning, and another time which changed the message entirely. TIL that suppressing setuptools warnings is akin to whack-a-mole. --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 04cae833..34eea709 100644 --- a/setup.cfg +++ b/setup.cfg @@ -68,8 +68,9 @@ exclude = filterwarnings = error # Suppress deprecation warnings in other packages + ignore:Deprecated call to `pkg_resources.declare_namespace\('paste'\)`:: ignore:lib2to3 package is deprecated::scspell - ignore:pkg_resources is deprecated as an API::colcon_core.entry_point + ignore:pkg_resources is deprecated as an API:: ignore:SelectableGroups dict interface is deprecated::flake8 ignore:The loop argument is deprecated::asyncio ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated::pydocstyle