mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:19 +02:00
Full cleanup of pkg_resources (#9797)
Fixes #9606 This PRs removes some elements that were related to pkg_resources dependency and its deprecation.
This commit is contained in:
+1
-9
@@ -21,13 +21,7 @@
|
||||
# updated.
|
||||
# 4) Ignore our own PendingDeprecationWarning about update_symlinks soon to be dropped.
|
||||
# See https://github.com/certbot/certbot/issues/6284.
|
||||
# 5) Ignore pkg_resources.declare_namespace used in a large number of Google's Python
|
||||
# libs. e.g. https://github.com/googleapis/google-auth-library-python/issues/1229.
|
||||
# It is also is used in sphinxcontrib-devhelp 1.0.2 which as of writing this
|
||||
# is the latest version of that library. See
|
||||
# https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/1.0.2/setup.py#L69.
|
||||
# 6) Ignore DeprecationWarning from using pkg_resources API
|
||||
# 7) Ignore DeprecationWarning for datetime.utcfromtimestamp() triggered
|
||||
# 5) Ignore DeprecationWarning for datetime.utcfromtimestamp() triggered
|
||||
# when importing the pytz.tzinfo module
|
||||
# https://github.com/stub42/pytz/issues/105
|
||||
filterwarnings =
|
||||
@@ -36,6 +30,4 @@ filterwarnings =
|
||||
ignore:.*rsyncdir:DeprecationWarning
|
||||
ignore:'urllib3.contrib.pyopenssl:DeprecationWarning:requests_toolbelt
|
||||
ignore:update_symlinks is deprecated:PendingDeprecationWarning
|
||||
ignore:.*declare_namespace\(':DeprecationWarning
|
||||
ignore:pkg_resources is deprecated as an API:DeprecationWarning
|
||||
ignore:.*datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:pytz.tzinfo
|
||||
|
||||
Reference in New Issue
Block a user