summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-11-10 17:17:18 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-11-10 17:27:15 -0500
commit2ceec37662b7b053ca6ffc328d95ba838bf26a2b (patch)
tree4c1b6c91fb2d3f56c7960ee57cefdea16b5328da /pytest.ini
parent65fab2fade018f404b323f66fa492d5aadf55001 (diff)
downloadpython-setuptools-git-2ceec37662b7b053ca6ffc328d95ba838bf26a2b.tar.gz
Move warning suppression to pytest.ini so it occurs after 'error'.
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 2678afd8..df1c2af9 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -34,3 +34,15 @@ filterwarnings=
# https://github.com/pypa/setuptools/issues/2497
ignore:.* is an invalid version and will not be supported::pkg_resources
+
+ # https://github.com/pypa/setuptools/pull/2865#issuecomment-965700112
+ # ideally would apply to Python 3.10+ when
+ # SETUPTOOLS_USE_DISTUTILS=stdlib but for
+ # https://github.com/pytest-dev/pytest/discussions/9296
+ ignore:The distutils.sysconfig module is deprecated, use sysconfig instead
+
+ # Workaround for pypa/setuptools#2868
+ # ideally would apply to PyPy only but for
+ # https://github.com/pytest-dev/pytest/discussions/9296
+ ignore:Distutils was imported before setuptools
+ ignore:Setuptools is replacing distutils