From 92439c2c9f1782e209f390eff79d3ff2f7400c12 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Thu, 20 Jun 2024 10:44:42 +0200 Subject: [PATCH] Update to match latest development cycle Update python supported versions Update requiremewnts with standard snmp related dependencies Update tox versions and options Change-Id: Ic80e799a5d9a4888565803c04c8c25f2e6734dd2 --- requirements.txt | 8 ++------ setup.cfg | 1 + test-requirements.txt | 9 ++------- tox.ini | 10 +++++----- zuul.d/virtualpdu-jobs.yaml | 2 +- 5 files changed, 11 insertions(+), 19 deletions(-) diff --git a/requirements.txt b/requirements.txt index 05611e1..3bfdfe8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,4 @@ -# 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. - libvirt-python>=6.0.0 # LGPLv2+ pysnmp-lextudio>=5.0.0 # BSD -pyasn1-lextudio>=1.1.0 # BSD -pyasn1-modules-lextudio>=0.2.0 # BSD +pyasn1>=0.5.1 # BSD +pyasn1-modules>=0.3.0 # BSD diff --git a/setup.cfg b/setup.cfg index d3b9eaa..a64c922 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 b273c04..e77d901 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,10 +1,5 @@ -# 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. - -# unit tests -coverage!=4.4,>=4.0 # Apache-2.0 +coverage>=4.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 retrying>=1.3.3 # Apache-2.0 -testtools>=2.5.0 # MIT \ No newline at end of file +testtools>=2.5.0 # MIT diff --git a/tox.ini b/tox.ini index c595571..cf4a162 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} @@ -17,9 +17,9 @@ commands = stestr run --slowest {posargs} [testenv:pep8] deps= - hacking~=6.0.0 # Apache-2.0 - doc8>=0.6.0 # Apache-2.0 - flake8-import-order>=0.17.1 # LGPLv3 + hacking~=6.1.0 # Apache-2.0 + doc8~=1.1.0 # Apache-2.0 + flake8-import-order~=0.18.0 # LGPLv3 pycodestyle>=2.0.0,<3.0.0 # MIT commands = flake8 {posargs} diff --git a/zuul.d/virtualpdu-jobs.yaml b/zuul.d/virtualpdu-jobs.yaml index 178480f..9f8926d 100644 --- a/zuul.d/virtualpdu-jobs.yaml +++ b/zuul.d/virtualpdu-jobs.yaml @@ -1,7 +1,7 @@ - job: name: ironic-tempest-wholedisk-bios-snmp-pxe-virtualpdu-src description: SNMP power, no-op management and whole disk images. - parent: ironic-base + parent: ironic-tempest-ramdisk-bios-snmp-pxe required-projects: - openstack/virtualpdu vars: