chore: Update setuptools version and suppress warnings
pkg_resources warning is caused by a few packages (django-simple-history. django-widget-tweaks, etc). The datetime_safe warning is in tastypie, as indicated. The others are deprecated settings we already have tickets for.
This commit is contained in:
parent
d81a092574
commit
171a5bec73
|
@ -13,7 +13,10 @@ import warnings
|
|||
from typing import Any, Dict, List, Tuple # pyflakes:ignore
|
||||
|
||||
warnings.simplefilter("always", DeprecationWarning)
|
||||
warnings.filterwarnings("ignore", message="'oidc_provider' defines default_app_config") # hopefully only need until Django 4.1 or 4.2
|
||||
warnings.filterwarnings("ignore", message="pkg_resources is deprecated as an API")
|
||||
warnings.filterwarnings("ignore", module="tastypie", message="The django.utils.datetime_safe module is deprecated.")
|
||||
warnings.filterwarnings("ignore", message="The USE_DEPRECATED_PYTZ setting,") # https://github.com/ietf-tools/datatracker/issues/5635
|
||||
warnings.filterwarnings("ignore", message="The USE_L10N setting is deprecated.") # https://github.com/ietf-tools/datatracker/issues/5648
|
||||
warnings.filterwarnings("ignore", message="'urllib3\\[secure\\]' extra is deprecated")
|
||||
warnings.filterwarnings("ignore", message="The logout\\(\\) view is superseded by")
|
||||
warnings.filterwarnings("ignore", message="Report.file_reporters will no longer be available in Coverage.py 4.2", module="coverage.report")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# -*- conf-mode -*-
|
||||
setuptools>=51.1.0,<67.5.0 # Require this first, to prevent later errors
|
||||
setuptools>=51.1.0 # Require this first, to prevent later errors
|
||||
#
|
||||
argon2-cffi>=21.3.0 # For the Argon2 password hasher option
|
||||
beautifulsoup4>=4.11.1 # Only used in tests
|
||||
|
@ -45,7 +45,7 @@ markdown>=3.3.6
|
|||
types-markdown>=3.3.6
|
||||
mock>=4.0.3 # Used only by tests, of course
|
||||
types-mock>=4.0.3
|
||||
mypy<1.3 # Version requirements determined by django-stubs.
|
||||
mypy~=1.2.0 # Version requirements determined by django-stubs.
|
||||
oic>=1.3 # Used only by tests
|
||||
Pillow>=9.1.0
|
||||
psycopg2>=2.9.6
|
||||
|
|
Loading…
Reference in a new issue