DNM: Test bindep with PYTHONWARNINGS=error

Remove a warning entry to get its traceback

Change-Id: I1829d6a69c88ac46fe45df18fe826da98a9c8b0d
This commit is contained in:
Jeremy Stanley 2021-11-20 14:18:57 +00:00
parent 021c5f1c43
commit 6caf61806e
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ summary = Binary dependency utility
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8
author = OpenDev Contributors
author-email = service-discuss@lists.opendev.org
author_email = service-discuss@lists.opendev.org
url = https://docs.opendev.org/opendev/bindep
project_urls =
Browse Source = https://opendev.org/opendev/bindep

View File

@ -14,7 +14,9 @@ ignore_basepython_conflict=true
#usedevelop = True
basepython = python3
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS = error, ignore:use poll_interval instead of poll_intervall:DeprecationWarning, ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning, ignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning, ignore::DeprecationWarning:distutils.command.install, ignore:easy_install command is deprecated. Use build and pip and other standards-based tools., ignore:setup.py install is deprecated. Use build and pip and other standards-based tools., ignore:the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses:DeprecationWarning, ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:DeprecationWarning
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt