This is an automated email from the ASF dual-hosted git repository. brondsem pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 7b3b3a1cb295534153cfa6f14bbf6a141587302c Author: Dave Brondsema <dbronds...@slashdotmedia.com> AuthorDate: Thu Aug 14 14:46:59 2025 -0400 [#8520] show warnings from ./run_tests --- pytest.ini | 6 +++--- run_tests | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pytest.ini b/pytest.ini index 39aa20648..18dfbf9c0 100644 --- a/pytest.ini +++ b/pytest.ini @@ -17,8 +17,8 @@ [pytest] # see python -W and pytest filterwarnings -# https://docs.python.org/3/using/cmdline.html#cmdoption-w -# https://docs.pytest.org/en/6.2.x/reference.html#ini-options-ref +# https://docs.python.org/3/library/warnings.html#describing-warning-filters +# https://docs.pytest.org/en/stable/reference/reference.html#ini-options-ref filterwarnings = # https://github.com/html5lib/html5lib-python/issues/443 ignore::DeprecationWarning:html5lib.filters.sanitizer @@ -28,9 +28,9 @@ filterwarnings = error::pytest.PytestCollectionWarning # other packages' issues: + # paste,repoze,sphinxcontrib use pkg_resources.declare_namespace: ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning:pkg_resources ignore:pkg_resources is deprecated as an API:UserWarning:tg.util.files - ignore:pkg_resources is deprecated as an API:UserWarning:formencode # supporting py3.9 still then can revert https://sourceforge.net/p/activitystream/code/ci/c0884668ac0f4445acb423edb25d18b7bd368be7/ ignore:SelectableGroups dict interface is deprecated. Use select.:DeprecationWarning:activitystream # optional import within passlib diff --git a/run_tests b/run_tests index 3310ca91e..d51f436a0 100755 --- a/run_tests +++ b/run_tests @@ -121,7 +121,6 @@ def check_packages(packages): def run_tests_in_parallel(options, runner_args): default_args = [ # '-c /dev/null', # pytest's equivalent of nose's NOSE_IGNORE_CONFIG_FILES='1' is '-c /dev/null/' - '--disable-warnings', ] def get_pkg_path(pkg):