tests: lazy tpi imports, ignore deprecation warning from setuptools (#9362)

This commit is contained in:
skshetry
2023-04-24 21:34:07 +05:45
committed by GitHub
parent b6d8c07d4d
commit e1bf418e72
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -149,6 +149,8 @@ filterwarnings = [
# and https://github.com/celery/celery/issues/7528
# drop when celery==5.3 && kombu==5.3 releases
"ignore:SelectableGroups dict interface is deprecated:DeprecationWarning",
# tpi imports pkg_resources
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",
# see https://github.com/networkx/networkx/issues/5723.
"ignore:nx.nx_pydot.* depends on the pydot package, which has.*known issues and is not actively maintained:DeprecationWarning",
# remove when new version of pytest-cov gets released