Updating testing as per the 2025.1 cycle testing runtime

As per 2025.1 testing runtime[1], we are tetsing from python 3.9 till
python 3.12, moving functional job to python 3.12 and updating the same
in python classifier.

Bump the hacking version to 7.0.0 for consistency with the other cinder
projects and to fix the pep8 job on Ubuntu Noble.

Also, add 'netifaces' to requirements; it has been explicitly used
by the code for a long time, but was never included in requirements.
Whatever had been supplying it apparently no longer has netifaces as
a dependency.

Closes-Bug: #2088356

Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156

[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html

Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: I9e5be7856d6985f7811c66ef3846fd353c51e7af
This commit is contained in:
Ghanshyam Mann 2024-11-18 17:58:28 -08:00 committed by Brian Rosmaita
parent d1df37bb55
commit 68f6362018
4 changed files with 9 additions and 9 deletions

View File

@ -53,13 +53,11 @@
tox_envlist: functional-py39
- job:
name: brick-cinderclient-dsvm-functional-py311
name: brick-cinderclient-dsvm-functional-py312
parent: brick-cinderclient-dsvm-functional-base
# use debian bookworm, where py3.11 is the default
nodeset: devstack-single-node-debian-bookworm
vars:
python_version: 3.11
tox_envlist: functional-py311
python_version: 3.12
tox_envlist: functional-py312
- project:
templates:
@ -70,8 +68,8 @@
check:
jobs:
- brick-cinderclient-dsvm-functional-py39
- brick-cinderclient-dsvm-functional-py311
- brick-cinderclient-dsvm-functional-py312
gate:
jobs:
- brick-cinderclient-dsvm-functional-py39
- brick-cinderclient-dsvm-functional-py311
- brick-cinderclient-dsvm-functional-py312

View File

@ -7,3 +7,4 @@ pbr>=5.5.1 # Apache-2.0
python-cinderclient>=9.0.0 # Apache-2.0
os-brick>=6.0.0 # Apache-2.0
oslo.concurrency>=5.0.0 # Apache-2.0
netifaces>=0.11.0

View File

@ -5,7 +5,7 @@ long_description = file: README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
url = http://docs.openstack.org/cinder/latest/
python_requires = >=3.8
python_requires = >=3.9
classifiers =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[files]
packages =

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=4.0.0,<4.1.0 # Apache-2.0
hacking>=7.0.0,<7.1.0 # Apache-2.0
coverage>=5.5 # Apache-2.0
ddt>=1.4.1 # MIT
oslotest>=4.4.1 # Apache-2.0