From: Sebastián Ramírez Date: Sun, 4 Aug 2024 18:23:14 +0000 (-0500) Subject: 🔇 Ignore warning from attrs in Trio (#11949) X-Git-Tag: 0.112.1~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3e49e5f4e10f7dd0423ce1f9111dd86ef603f44;p=thirdparty%2Ffastapi%2Ffastapi.git 🔇 Ignore warning from attrs in Trio (#11949) --- diff --git a/pyproject.toml b/pyproject.toml index 3601e63221..c34838b83f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -157,7 +157,6 @@ filterwarnings = [ "ignore:'crypt' is deprecated and slated for removal in Python 3.13:DeprecationWarning", # see https://trio.readthedocs.io/en/stable/history.html#trio-0-22-0-2022-09-28 "ignore:You seem to already have a custom.*:RuntimeWarning:trio", - "ignore::trio.TrioDeprecationWarning", # TODO remove pytest-cov 'ignore::pytest.PytestDeprecationWarning:pytest_cov', # TODO: remove after upgrading SQLAlchemy to a version that includes the following changes @@ -169,6 +168,10 @@ filterwarnings = [ # - https://github.com/mpdavis/python-jose/issues/332 # - https://github.com/mpdavis/python-jose/issues/334 'ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\..*:DeprecationWarning:jose', + # Trio 24.1.0 raises a warning from attrs + # Ref: https://github.com/python-trio/trio/pull/3054 + # Remove once there's a new version of Trio + 'ignore:The `hash` argument is deprecated*:DeprecationWarning:trio', ] [tool.coverage.run]