2018-11-30 20:40:55 -05:00
|
|
|
# This file isn't used while testing packages in tools/_release.sh so any
|
|
|
|
|
# settings we want to also change there must be added to the release script
|
|
|
|
|
# directly.
|
2018-07-11 20:25:48 -04:00
|
|
|
[pytest]
|
2020-05-04 19:54:09 -04:00
|
|
|
# Warnings being triggered by our plugins using deprecated features in
|
|
|
|
|
# acme/certbot should be fixed by having our plugins no longer using the
|
|
|
|
|
# deprecated code rather than adding them to the list of ignored warnings here.
|
|
|
|
|
# Fixing things in this way prevents us from shipping packages raising our own
|
|
|
|
|
# deprecation warnings and gives time for plugins that don't use the deprecated
|
|
|
|
|
# API to propagate, especially for plugins packaged as an external snap, before
|
|
|
|
|
# we release breaking changes.
|
2021-05-31 03:01:01 -04:00
|
|
|
#
|
|
|
|
|
# The current warnings being ignored are:
|
|
|
|
|
# 1) The warning raised when importing certbot.tests.util and the external mock
|
|
|
|
|
# library is installed.
|
2021-07-22 15:00:30 -04:00
|
|
|
# 2) An ImportWarning is raised with older versions of setuptools and
|
|
|
|
|
# zope.interface. See
|
|
|
|
|
# https://github.com/zopefoundation/zope.interface/issues/68 for more info.
|
2021-08-14 17:06:29 -04:00
|
|
|
# 3) The deprecation warning raised when importing old Zope interfaces from
|
|
|
|
|
# the certbot.interfaces module.
|
2021-08-17 12:13:54 -04:00
|
|
|
# 4) The deprecation warning raised when importing deprecated attributes from
|
|
|
|
|
# the certbot.display.util module.
|
2021-09-13 17:48:15 -04:00
|
|
|
# 5) A deprecation warning is raised in dnspython==1.15.0 in the oldest tests for
|
|
|
|
|
# certbot-dns-rfc2136.
|
2021-11-08 18:55:32 -05:00
|
|
|
# 6) The vendored version of six in botocore causes ImportWarnings in Python
|
|
|
|
|
# 3.10+. See https://github.com/boto/botocore/issues/2548.
|
|
|
|
|
# 7) botocore's default TLS settings raise deprecation warnings in Python
|
|
|
|
|
# 3.10+, but their values are sane from a security perspective. See
|
|
|
|
|
# https://github.com/boto/botocore/issues/2550.
|
2022-01-21 15:42:05 -05:00
|
|
|
# 8) Ignore our own PendingDeprecationWarning about Python 3.6 soon to be dropped.
|
|
|
|
|
# See https://github.com/certbot/certbot/pull/9160.
|
2018-10-30 20:13:40 -04:00
|
|
|
filterwarnings =
|
2018-10-30 20:24:29 -04:00
|
|
|
error
|
2021-05-31 03:01:01 -04:00
|
|
|
ignore:The external mock module:PendingDeprecationWarning
|
2021-07-22 15:00:30 -04:00
|
|
|
ignore:.*zope. missing __init__:ImportWarning
|
2021-08-14 17:06:29 -04:00
|
|
|
ignore:.*attribute in certbot.interfaces module is deprecated:DeprecationWarning
|
2021-09-13 17:48:15 -04:00
|
|
|
ignore:.*attribute in certbot.display.util module is deprecated:DeprecationWarning
|
|
|
|
|
ignore:decodestring\(\) is a deprecated alias:DeprecationWarning:dns
|
2021-11-08 18:55:32 -05:00
|
|
|
ignore:_SixMetaPathImporter.:ImportWarning
|
|
|
|
|
ignore:ssl.PROTOCOL_TLS:DeprecationWarning:botocore
|
2022-01-21 15:42:05 -05:00
|
|
|
ignore:Python 3.6 support will be dropped:PendingDeprecationWarning
|