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: I661e397e597582404dcb33044844b7af7c64de5f
This commit is contained in:
Brian Rosmaita 2024-04-10 09:55:48 -04:00
parent 4e71afe6ab
commit a58bb92b28
3 changed files with 8 additions and 9 deletions

View File

@ -28,13 +28,13 @@
tox_envlist: functional-py39
- job:
name: python-cinderclient-functional-py310
name: python-cinderclient-functional-py311
parent: python-cinderclient-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:
vars:
@ -49,10 +49,10 @@
check:
jobs:
- python-cinderclient-functional-py39
- python-cinderclient-functional-py310
- python-cinderclient-functional-py311
- openstack-tox-pylint:
voting: false
gate:
jobs:
- python-cinderclient-functional-py39
- python-cinderclient-functional-py310
- python-cinderclient-functional-py311

View File

@ -18,7 +18,6 @@ classifier =
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
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

@ -107,7 +107,7 @@ setenv =
# TLS (https) server certificate.
passenv = OS_*
[testenv:functional-py{3,38,39,310,311}]
[testenv:functional-py{3,38,39,310,311,312}]
deps = {[testenv:functional]deps}
setenv = {[testenv:functional]setenv}
passenv = {[testenv:functional]passenv}