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

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

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

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