From 292913a3bc1a039643857c745b153e8334bad2da Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Mon, 24 Jun 2024 10:30:01 +0200 Subject: [PATCH] Update to match latest development cycle Update python supported versions Update tox versions and options Change-Id: I1aa3916b177c4a12249355fe281303e556b26254 --- setup.cfg | 1 + test-requirements.txt | 9 ++------- tox.ini | 10 +++++----- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/setup.cfg b/setup.cfg index c6e5e94..90aed3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 = diff --git a/test-requirements.txt b/test-requirements.txt index daabdad..8a780e0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 diff --git a/tox.ini b/tox.ini index 5c66365..01643bd 100644 --- a/tox.ini +++ b/tox.ini @@ -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