diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-10 17:17:18 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-11-10 17:27:15 -0500 |
| commit | 2ceec37662b7b053ca6ffc328d95ba838bf26a2b (patch) | |
| tree | 4c1b6c91fb2d3f56c7960ee57cefdea16b5328da /pytest.ini | |
| parent | 65fab2fade018f404b323f66fa492d5aadf55001 (diff) | |
| download | python-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.ini | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |
