From 9ff163b919ee9c98a358e5f9ade4539bcf8963cb Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 27 Mar 2025 10:01:13 -0400 Subject: [PATCH] Remove AsgiHandler deprecation exception * Time has passed. Channels (4.2.0) no longer raises a deprecation warning for this case. It used to (4.1.0). * We do NOT serve http requests over daphne, this is the default behavior of ProtocolTypeRouter() when the http param is NOT included --- pytest.ini | 3 --- 1 file changed, 3 deletions(-) diff --git a/pytest.ini b/pytest.ini index 7c63bd728e..c52dce713c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -79,9 +79,6 @@ filterwarnings = # FIXME: in `awx/main/analytics/collectors.py` and then delete the entry. once:distro.linux_distribution.. is deprecated. It should only be used as a compatibility shim with Python's platform.linux_distribution... Please use distro.id.., distro.version.. and distro.name.. instead.:DeprecationWarning:awx.main.analytics.collectors - # FIXME: Figure this out, fix and then delete the entry. - once:Channel's inbuilt http protocol AsgiHandler is deprecated. Use Django's get_asgi_application.. instead.:DeprecationWarning:channels.routing - # FIXME: Use `codecs.open()` via a context manager # FIXME: in `awx/main/utils/ansible.py` to close hanging file descriptors # FIXME: and then delete the entry.