deprecate more attributes in acme (#9369)

* deprecate more attributes in acme

* Deprecate .Authorization.combinations by renaming the field and
  deprecating in getters/setters

* Silence deprecation warnings from our own imports of acme.mixins

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
alexzorin
2022-08-30 14:41:53 -07:00
committed by GitHub
co-authored by Brad Warren
parent f9d148be56
commit f7e61edcb2
6 changed files with 67 additions and 8 deletions
+6
View File
@@ -24,6 +24,9 @@
# certbot-dns-rfc2136.
# 6) botocore is currently using deprecated urllib3 functionality. See
# https://github.com/boto/botocore/issues/2744.
# 7) ACMEv1 deprecations in acme.client which will be resolved by Certbot 2.0.
# 8) acme.mixins deprecation in acme.client which will be resolved by Certbot 2.0.
# 9) acme.messages.Authorization.combinations which will be resolved by Certbot 2.0.
filterwarnings =
error
ignore:The external mock module:PendingDeprecationWarning
@@ -32,3 +35,6 @@ filterwarnings =
ignore:.*attribute in certbot.display.util module is deprecated:DeprecationWarning
ignore:decodestring\(\) is a deprecated alias:DeprecationWarning:dns
ignore:'urllib3.contrib.pyopenssl:DeprecationWarning:botocore
ignore:.*attribute in acme.client is deprecated:DeprecationWarning
ignore:.*acme.mixins is deprecated:DeprecationWarning
ignore:.*Authorization.combinations is deprecated:DeprecationWarning