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:
|
2022-09-28 19:17:03 -04:00
|
|
|
# 1) A deprecation warning is raised in dnspython==1.15.0 in the oldest tests for
|
2021-09-13 17:48:15 -04:00
|
|
|
# certbot-dns-rfc2136.
|
2022-11-21 14:42:00 -05:00
|
|
|
# 2) pytest-cov uses deprecated functionality in pytest-xdist, to be resolved by
|
2022-11-11 01:03:28 -05:00
|
|
|
# https://github.com/pytest-dev/pytest-cov/issues/557.
|
2023-02-08 17:21:07 -05:00
|
|
|
# 3) 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.
|
2023-02-22 15:16:28 -05:00
|
|
|
# 4) Ignore our own PendingDeprecationWarning about update_symlinks soon to be dropped.
|
|
|
|
|
# See https://github.com/certbot/certbot/issues/6284.
|
2023-11-13 18:50:32 -05:00
|
|
|
# 5) Ignore DeprecationWarning for datetime.utcfromtimestamp() triggered
|
2023-12-13 13:02:38 -05:00
|
|
|
# from dateutil. See https://github.com/dateutil/dateutil/issues/1314.
|
2023-12-05 13:33:31 -05:00
|
|
|
# 6) Ignoring this allows us to continue to update pyOpenSSL (one of our crypto
|
|
|
|
|
# dependencies) until https://github.com/certbot/certbot/issues/9828 is resolved.
|
2018-10-30 20:13:40 -04:00
|
|
|
filterwarnings =
|
2018-10-30 20:24:29 -04:00
|
|
|
error
|
2021-09-13 17:48:15 -04:00
|
|
|
ignore:decodestring\(\) is a deprecated alias:DeprecationWarning:dns
|
2022-11-02 15:32:00 -04:00
|
|
|
ignore:.*rsyncdir:DeprecationWarning
|
2023-02-08 17:21:07 -05:00
|
|
|
ignore:'urllib3.contrib.pyopenssl:DeprecationWarning:requests_toolbelt
|
2023-02-22 15:16:28 -05:00
|
|
|
ignore:update_symlinks is deprecated:PendingDeprecationWarning
|
2023-12-13 13:02:38 -05:00
|
|
|
ignore:.*datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil
|
2023-12-05 13:33:31 -05:00
|
|
|
ignore:X509Extension support in pyOpenSSL is deprecated:DeprecationWarning
|