mirror of
https://github.com/certbot/certbot.git
synced 2026-02-19 02:28:06 -05:00
43 lines
2.5 KiB
INI
43 lines
2.5 KiB
INI
# 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.
|
|
[pytest]
|
|
# 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.
|
|
#
|
|
# The current warnings being ignored are:
|
|
# 1) pytest-cov uses deprecated functionality in pytest-xdist, to be resolved by
|
|
# https://github.com/pytest-dev/pytest-cov/issues/557.
|
|
# 2) requests-toolbelt<0.10.1 can cause this warning to be raised during our
|
|
# unit tests. This warning should be ignored until our (transitive)
|
|
# dependency on requests-toolbelt is removed or our pinned version can be
|
|
# updated.
|
|
# 3) Ignore DeprecationWarning for datetime.utcfromtimestamp() triggered
|
|
# from dateutil. See https://github.com/dateutil/dateutil/issues/1314.
|
|
# 4 & 5) The pyOpenSSL X509/PKey warnings are due to TLS-ALPN-01 support.
|
|
# Resolving these warnings is being tracked by
|
|
# https://github.com/certbot/certbot/issues/10079.
|
|
# 6 - 11) Planning to remove unused TLS-ALPN support in acme.
|
|
# See https://github.com/certbot/certbot/issues/10266 and
|
|
# https://github.com/certbot/certbot/pull/10294.
|
|
# 12) Planning to remove support for checking OCSP via OpenSSL binary.
|
|
# See https://github.com/certbot/certbot/issues/10291.
|
|
filterwarnings =
|
|
error
|
|
ignore:.*rsyncdir:DeprecationWarning
|
|
ignore:'urllib3.contrib.pyopenssl:DeprecationWarning:requests_toolbelt
|
|
ignore:.*datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil
|
|
ignore:Passing pyOpenSSL X509 objects is deprecated:DeprecationWarning
|
|
ignore:Passing pyOpenSSL PKey objects is deprecated:DeprecationWarning
|
|
ignore:alpn_protocols parameter is deprecated:DeprecationWarning
|
|
ignore:SSLSocket is deprecated:DeprecationWarning
|
|
ignore:TLSALPN01Server is deprecated:DeprecationWarning
|
|
ignore:TLSALPN01Response is deprecated:DeprecationWarning
|
|
ignore:TLSALPN01 is deprecated:DeprecationWarning
|
|
ignore:TLSServer is deprecated:DeprecationWarning
|
|
ignore:enforce_openssl_binary_usage parameter is deprecated:DeprecationWarning
|