Update to match latest development cycle

Update python supported versions
Update tox versions and options

Change-Id: I1aa3916b177c4a12249355fe281303e556b26254
This commit is contained in:
Riccardo Pittau 2024-06-24 10:30:01 +02:00
parent 9e46c0c174
commit 292913a3bc
3 changed files with 8 additions and 12 deletions

View File

@ -20,6 +20,7 @@ classifier =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[files]
packages =

View File

@ -1,12 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
coverage!=4.4,>=4.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
coverage>=4.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
stestr>=1.0.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0

10
tox.ini
View File

@ -1,10 +1,10 @@
[tox]
minversion = 3.18.0
minversion = 4.4.0
envlist = py3,pep8
ignore_basepython_conflict=true
[testenv]
basepython = python3
constrain_package_deps = true
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
@ -28,10 +28,10 @@ passenv =
[testenv:pep8]
deps=
hacking~=6.0.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
hacking~=6.1.0 # Apache-2.0
flake8-import-order~=0.18.0 # LGPLv3
pycodestyle>=2.0.0,<3.0.0 # MIT
doc8>=0.8.1 # Apache-2.0
doc8~=1.1.0 # Apache-2.0
commands =
flake8 {posargs}
doc8 README.rst CONTRIBUTING.rst HACKING.rst doc/source