Removal of Warning for Distro Deprecation (#16193)

remove warning for distro deprecation
This commit is contained in:
Stevenson Michel 2025-12-02 14:28:12 -05:00 committed by GitHub
parent a20f299cd6
commit be30a75c4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,10 +67,6 @@ filterwarnings =
# FIXME: Figure this out, fix and then delete the entry.
once::django.core.paginator.UnorderedObjectListWarning:rest_framework.pagination
# FIXME: Replace use of `distro.linux_distribution()` via a context manager
# 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: 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.