Update python tested versions for hibiscus

- remove Python 3.10 classifier
- update requires-python to 3.11
- run mypy in python 3.11
- replace tox functional-py310 testenv with py314
- run functional-py311 instead of functional-py310 in the gate
- add a non-voting functional-py314 job (a non-voting py314 unit test
  job is already included in the openstack-python3-jobs template)

ref: https://governance.openstack.org/tc/reference/runtimes/2026.2.html

Change-Id: I800a47e330d8118c4ae3d470305544ca8329007a
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
This commit is contained in:
Brian Rosmaita
2025-11-26 08:59:27 -05:00
parent e7bd4d9411
commit 3cb77a0ef2
3 changed files with 8 additions and 5 deletions
+5 -1
View File
@@ -14,7 +14,7 @@
- cinder-mypy
- cinder-tox-bandit-baseline:
voting: false
- openstack-tox-functional-py310:
- openstack-tox-functional-py311:
irrelevant-files: &functional-irrelevant-files
- ^.*\.rst$
- ^cinder/locale/.*$
@@ -25,6 +25,10 @@
- ^reno.yaml$
- openstack-tox-functional-py313:
irrelevant-files: *functional-irrelevant-files
# Python 3.14 testing is optional but encouraged in Hibiscus
- openstack-tox-functional-py314:
irrelevant-files: *functional-irrelevant-files
voting: false
- cinder-rally-task:
voting: false
irrelevant-files: *functional-irrelevant-files
+2 -3
View File
@@ -11,7 +11,7 @@ authors = [
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
@@ -20,7 +20,6 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
@@ -161,7 +160,7 @@ packages = [
]
[tool.mypy]
python_version = "3.10"
python_version = "3.11"
show_column_numbers = true
show_error_context = true
ignore_missing_imports = true
+1 -1
View File
@@ -35,7 +35,7 @@ allowlist_externals =
setenv =
OS_TEST_PATH = ./cinder/tests/functional
[testenv:functional-py{3,310,311,312,313}]
[testenv:functional-py{3,311,312,313,314}]
setenv =
{[testenv:functional]setenv}