Skip to content

Commit

Permalink
Exclude datetime.datetime.utcnow
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Jul 8, 2024
1 parent 5fcbb12 commit 75f7443
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dojo/settings/.settings.dist.py.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cce215fa477d611d45cae69a29185e943eb209526fec2b38659666e5e9513fe3
01d551b8e4ce4a6c0ab77d90b4e0a16d142b68acc69bfb709b7daf8317eafd5b
5 changes: 3 additions & 2 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1744,8 +1744,9 @@ def saml2_attrib_map_format(dict):
warnings.filterwarnings("ignore", message="polymorphic.base.ManagerInheritanceWarning.*")
warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*")

# TODO - remove this, it is only for testing that following error is the only stopper for upgrade to py3.12
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API")
# 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", 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", message="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.

# 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.
Expand Down

0 comments on commit 75f7443

Please sign in to comment.