summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-11-14 17:41:08 -0500
committerGitHub <noreply@github.com>2021-11-14 17:41:08 -0500
commit5b75de07169ef13952a5ab48e0b8bc15f31d0c37 (patch)
tree13b02b20c66d6f5fca7905285ee609a5ad72acb6 /pytest.ini
parent6fc5d3099898fc3d06bcf72f1f6607d02124d60f (diff)
parent5141c4210c2a63a3bb54f0f512e4116faedc8d63 (diff)
downloadpython-setuptools-git-debt/remove-legacy-version.tar.gz
Merge branch 'main' into debt/remove-legacy-versiondebt/remove-legacy-version
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini46
1 files changed, 33 insertions, 13 deletions
diff --git a/pytest.ini b/pytest.ini
index eebb212f..df1c2af9 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -5,24 +5,44 @@ addopts=
--doctest-glob=pkg_resources/api_tests.txt
-r sxX
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
-# workaround for warning pytest-dev/pytest#6178
-junit_family=xunit2
filterwarnings=
- # Fail on warnings
- error
+ # Fail on warnings
+ error
- ## upstream
+ ## upstream
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
## end upstream
- # https://github.com/pypa/setuptools/issues/1823
- ignore:bdist_wininst command is deprecated
- # Suppress this error; unimportant for CI tests
- ignore:Extraction path is writable by group/others:UserWarning
- # Suppress weird RuntimeWarning.
- ignore:Parent module 'setuptools' not found while handling absolute import:RuntimeWarning
- # Suppress use of bytes for filenames on Windows until fixed #2016
- ignore:The Windows bytes API has been deprecated:DeprecationWarning
+ # https://github.com/pypa/setuptools/issues/1823
+ ignore:bdist_wininst command is deprecated
+ # Suppress this error; unimportant for CI tests
+ ignore:Extraction path is writable by group/others:UserWarning
+ # Suppress weird RuntimeWarning.
+ ignore:Parent module 'setuptools' not found while handling absolute import:RuntimeWarning
+ # Suppress use of bytes for filenames on Windows until fixed #2016
+ ignore:The Windows bytes API has been deprecated:DeprecationWarning
+
+ # https://github.com/pypa/setuptools/issues/2823
+ ignore:setup_requires is deprecated.
+
+ # https://github.com/pypa/setuptools/issues/917
+ ignore:setup.py install is deprecated.
+ ignore:easy_install command is deprecated.
+
+ # 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