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 tox_envlist: functional-py39
- job: - job:
name: brick-cinderclient-dsvm-functional-py310 name: brick-cinderclient-dsvm-functional-py311
parent: brick-cinderclient-dsvm-functional-base parent: brick-cinderclient-dsvm-functional-base
# python 3.10 is the default in ubuntu 22.04 (jammy) # use debian bookworm, where py3.11 is the default
nodeset: openstack-single-node-jammy nodeset: devstack-single-node-debian-bookworm
vars: vars:
python_version: 3.10 python_version: 3.11
tox_envlist: functional-py310 tox_envlist: functional-py311
- project: - project:
templates: templates:
@ -70,8 +70,8 @@
check: check:
jobs: jobs:
- brick-cinderclient-dsvm-functional-py39 - brick-cinderclient-dsvm-functional-py39
- brick-cinderclient-dsvm-functional-py310 - brick-cinderclient-dsvm-functional-py311
gate: gate:
jobs: jobs:
- brick-cinderclient-dsvm-functional-py39 - 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 :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.11

View File

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