diff --git a/requirements.txt b/requirements.txt index df1fcd97..81bc992e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ isort==5.12.0; python_version>='3.8' mypy==0.982 types-certifi==2021.10.8.2 pytest==7.2.0 -trio==0.21.0 +trio==0.22.0 trio-typing==0.7.0 trustme==0.9.0 uvicorn==0.20.0 diff --git a/setup.cfg b/setup.cfg index d9b822c1..c0bb07dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,8 @@ addopts = -rxXs filterwarnings = error ignore: You seem to already have a custom sys.excepthook handler installed. I'll skip installing Trio's custom handler, but this means MultiErrors will not show full tracebacks.:RuntimeWarning + # See: https://github.com/agronholm/anyio/issues/508 + ignore: trio\.MultiError is deprecated since Trio 0\.22\.0:trio.TrioDeprecationWarning markers = copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.