Some deprecated Setuptools operations were removed in a recent PBR
release, allowing us to now build sdist and wheel artifacts with
warnings as errors. There are still a couple more outstanding
deprecation fixes needed for other envs, so update the comment in
tox.ini accordingly.
usedevelop = True
install_command = pip install {opts} {packages}
# TODO(fungi) Switch this to "error" and remove env-specific copies once
-# https://review.opendev.org/735433 and https://review.opendev.org/735443
+# https://review.opendev.org/752793 and https://review.opendev.org/752794
# merge and appear in a new PBR release
setenv =
PYTHONWARNINGS=default::DeprecationWarning
commands = mudpy {posargs}
[testenv:dist]
+setenv =
+ PYTHONWARNINGS=error
allowlist_externals = rm
deps =
pbr