tox: Bump minimum version, remove legacy crud

tox 4 is everywhere now and uses sane behavior for Python conflicts.

Change-Id: I4b318b7f7c514fe599879c364d29c275522cdd9b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-11-28 12:02:52 +00:00
parent 586dde47c6
commit c375608988

11
tox.ini
View File

@ -1,16 +1,10 @@
[tox]
minversion = 3.18.0
envlist = pep8,py39,releasenotes,npm,py3-dj42
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = True
minversion = 4.4
envlist = pep8,py3,releasenotes,npm,py3-dj42
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV = {envdir}
PYTHONDONTWRITEBYTECODE = 1
# TODO(amotoki): Consider dropping PendingDeprecationWarning
# handle deprecated Django features earlier.
@ -236,7 +230,6 @@ max-line-length = 80
# - Ignore since we allow lines in excess of 79 characters.
ignore = D000,D001
[pytest]
markers =
selenium: Mark for selenium tests