Skip to content

Commit aad6158

Browse files
committed
Try to exclude pkg_resources warning
1 parent 09ab60e commit aad6158

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dojo/settings/settings.dist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,9 @@ def saml2_attrib_map_format(dict):
17441744
warnings.filterwarnings("ignore", message="polymorphic.base.ManagerInheritanceWarning.*")
17451745
warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*")
17461746

1747+
# TODO - remove this, it is only for testing that following error is the only stopper for upgrade to py3.12
1748+
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API")
1749+
17471750
# This setting is here to override default renderer of forms (use div-based, instred of table-based).
17481751
# It has effect only on templates that use "{{ form }}" in the body. Only "Delete forms" now.
17491752
# The setting is here to avoid RemovedInDjango50Warning. It is here only for transition period.

0 commit comments

Comments
 (0)