You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. #257
____________________________ ERROR collecting tests ____________________________
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
/usr/local/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:188: in exec_module
exec(co, module.__dict__)
/usr/local/lib/python3.10/site-packages/ewoksserver/tests/conftest.py:13: in <module>
from fastapi.testclient import TestClient
/usr/local/lib/python3.10/site-packages/fastapi/testclient.py:1: in <module>
from starlette.testclient import TestClient as TestClient # noqa
/usr/local/lib/python3.10/site-packages/starlette/testclient.py:53: in <module>
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
/usr/local/lib/python3.10/site-packages/anyio/_lazyimport.py:35: in __getattr__
emit_deprecation_warning(module_name, name, new_name)
/usr/local/lib/python3.10/site-packages/anyio/_lazyimport.py:82: in emit_deprecation_warning
warnings.warn(
E DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
Activity
woutdenolf commentedon Sep 3, 2026
anyio 4.14.2 -> 4.15.0
woutdenolf commentedon Sep 3, 2026
Kludex/starlette#3497
woutdenolf commentedon Sep 3, 2026
This would fix the CI:
"ignore:The anyio.abc.BlockingPortal alias is deprecated:DeprecationWarning:starlette.testclient"