From 823092d692a7c632fb84f3b292e9990716a6baea Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Tue, 9 Jul 2024 09:38:41 +0200 Subject: [PATCH] Try to exclude only based on module --- dojo/settings/.settings.dist.py.sha256sum | 2 +- dojo/settings/settings.dist.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dojo/settings/.settings.dist.py.sha256sum b/dojo/settings/.settings.dist.py.sha256sum index 26f2a7f64a..36a67c6570 100644 --- a/dojo/settings/.settings.dist.py.sha256sum +++ b/dojo/settings/.settings.dist.py.sha256sum @@ -1 +1 @@ -e2d47cb58d7cd035312fd7ad81e975d5d44375c4edecf2458cfa4017e67e3197 +3d96564f58453676b72c97b7f9bf835ab20659c9a525ab6fc7e5b8404070ef36 diff --git a/dojo/settings/settings.dist.py b/dojo/settings/settings.dist.py index dff43b764a..8d78b3ac49 100644 --- a/dojo/settings/settings.dist.py +++ b/dojo/settings/settings.dist.py @@ -1745,8 +1745,8 @@ def saml2_attrib_map_format(dict): warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*") # TODO - remove these lines, they are here only for testing that following error is the only stopper for upgrade to py3.12 -warnings.filterwarnings("ignore", module="polymorphic", message="pkg_resources is deprecated as an API") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164 -warnings.filterwarnings("ignore", module="github", message=r"datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC: datetime\.datetime\.now\(datetime\.UTC\)\.") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location. +warnings.filterwarnings("ignore", module="polymorphic") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164 +warnings.filterwarnings("ignore", module="github") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location. # This setting is here to override default renderer of forms (use div-based, instred of table-based). # It has effect only on templates that use "{{ form }}" in the body. Only "Delete forms" now.