We have no trio pacakged yet. --- httpx-0.28.1/pyproject.toml.orig +++ httpx-0.28.1/pyproject.toml @@ -119,8 +119,6 @@ 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", --- httpx-0.28.1/requirements.txt.orig +++ httpx-0.28.1/requirements.txt @@ -23,8 +23,6 @@ mypy==1.13.0 pytest==8.3.4 ruff==0.8.1 -trio==0.27.0 -trio-typing==0.10.0 trustme==1.1.0; python_version < '3.9' trustme==1.2.0; python_version >= '3.9' uvicorn==0.32.1 --- httpx-0.28.1/tests/concurrency.py.orig +++ httpx-0.28.1/tests/concurrency.py @@ -5,11 +5,7 @@ import asyncio import sniffio -import trio async def sleep(seconds: float) -> None: - if sniffio.current_async_library() == "trio": - await trio.sleep(seconds) # pragma: no cover - else: - await asyncio.sleep(seconds) + await asyncio.sleep(seconds)