@@ -14,17 +14,21 @@ filterwarnings=
14
14
# Ensure ResourceWarnings are emitted
15
15
default::ResourceWarning
16
16
17
+ # Workarounds for pypa/setuptools#3810
18
+ # Can't use EncodingWarning as it doesn't exist on Python 3.9
19
+ default:' encoding' argument not specified
20
+ # subprocess.check_output still warns with EncodingWarning even with encoding set
21
+ ignore:' encoding' argument not specified::setuptools.tests.environment
22
+
17
23
# realpython/pytest-mypy#152
18
24
ignore:' encoding' argument not specified::pytest_mypy
19
25
20
- # python/cpython#100750
21
- ignore:' encoding' argument not specified::platform
22
-
23
- # pypa/build#615
24
- ignore:' encoding' argument not specified::build.env
26
+ # pytest-dev/pytest # TODO: Raise issue upstream
27
+ ignore:' encoding' argument not specified::_pytest
25
28
26
- # dateutil/dateutil#1284
27
- ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz
29
+ # TODO: This ignore doesn't work, why?
30
+ # pypa/distutils # TODO: Raise issue upstream
31
+ ignore:' encoding' argument not specified::setuptools._distutils
28
32
29
33
# # end upstream
30
34
@@ -68,11 +72,6 @@ filterwarnings=
68
72
# https://github.com/pypa/setuptools/issues/3655
69
73
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
70
74
71
- # Workarounds for pypa/setuptools#3810
72
- # Can't use EncodingWarning as it doesn't exist on Python 3.9
73
- default:' encoding' argument not specified
74
- default:UTF-8 Mode affects locale.getpreferredencoding().
75
-
76
75
# Avoid errors when testing pkg_resources.declare_namespace
77
76
ignore:.*pkg_resources\.declare_namespace.*:DeprecationWarning
78
77
0 commit comments