Update CI for Dalmatian

Updates:
- added functional py312 testenv to tox.ini (not needed for unit tests)
- removed py38 classifier from setup.cfg, but did not change python_requires (currently it's >=3.8)
- run py311 func job in gate (was py310)

Change-Id: I257aa78d8f903f4c009d12a072c53b73e05a18d7
This commit is contained in:
Brian Rosmaita 2024-04-10 10:56:58 -04:00
parent 96be0cfb19
commit 27474b10c5
3 changed files with 8 additions and 9 deletions

View File

@ -53,13 +53,13 @@
tox_envlist: functional-py39
- job:
name: brick-cinderclient-dsvm-functional-py310
name: brick-cinderclient-dsvm-functional-py311
parent: brick-cinderclient-dsvm-functional-base
# python 3.10 is the default in ubuntu 22.04 (jammy)
nodeset: openstack-single-node-jammy
# use debian bookworm, where py3.11 is the default
nodeset: devstack-single-node-debian-bookworm
vars:
python_version: 3.10
tox_envlist: functional-py310
python_version: 3.11
tox_envlist: functional-py311
- project:
templates:
@ -70,8 +70,8 @@
check:
jobs:
- brick-cinderclient-dsvm-functional-py39
- brick-cinderclient-dsvm-functional-py310
- brick-cinderclient-dsvm-functional-py311
gate:
jobs:
- brick-cinderclient-dsvm-functional-py39
- brick-cinderclient-dsvm-functional-py310
- brick-cinderclient-dsvm-functional-py311

View File

@ -16,7 +16,6 @@ classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

View File

@ -45,7 +45,7 @@ setenv =
OS_TEST_PATH=./brick_cinderclient_ext/tests/functional
passenv = OS_*
[testenv:functional-py{3,38,39,310,311}]
[testenv:functional-py{3,38,39,310,311,312}]
setenv =
{[testenv:functional]setenv}