From 02a8dbde86af78915b7f64bebbb6931ad2d4b233 Mon Sep 17 00:00:00 2001 From: Robert Tuck Date: Fri, 13 Sep 2024 13:55:05 +0100 Subject: [PATCH] Fix unit test failure due to deprecated pkg_resource usage in python-workflows --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 979727952..85e4f9f2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,8 @@ filterwarnings = [ "ignore:(.*)unclosed event loop(.*):ResourceWarning", # Ignore pydantic 2 issues from blueapi, see https://github.com/DiamondLightSource/blueapi/issues/622 "ignore::DeprecationWarning:blueapi", + # Ignore deprecation warning from python-workflows https://github.com/DiamondLightSource/python-workflows/issues/180 + "ignore:.*pkg_resources.*:DeprecationWarning", ] # Doctest python code in docs, python code in src docstrings, test functions in tests testpaths = "docs src tests/unit_tests"