Remove Python 3.10 support

Python 3.10 is no longer part of the tested runtimes.

Also fix one mypy error caused by typed oslo.config .

Change-Id: I6ff86d494e520a0800b33a31d0c4051b8d98761b
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami committed 2026-06-10 23:59:21 +09:00
1 parent 8f39b19a56
commit d69ec822c7
3 files changed
+10 -5

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from collections.abc import Callable, Iterable
from collections.abc import Callable
import json
import sys
import textwrap
@@ -238,7 +238,7 @@ def main(
project: str,
upgrade_command: UpgradeCommands,
argv: list[str] = sys.argv[1:],
default_config_files: Iterable[str] | None = None,
default_config_files: list[str] | None = None,
) -> int:
"""Simple implementation of main for upgrade checks
+3 -3
View File
@@ -11,7 +11,7 @@ authors = [
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "Apache-2.0"
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Information Technology",
@@ -19,10 +19,10 @@ 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",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
@@ -34,7 +34,7 @@ Repository = "https://opendev.org/openstack/oslo.upgradecheck"
include = ["oslo_upgradecheck"]
[tool.mypy]
python_version = "3.10"
python_version = "3.11"
show_column_numbers = true
show_error_context = true
strict = true
@@ -0,0 +1,5 @@
---
upgrade:
- |
Support for Python 3.10 has been removed. Now the minimum python version
supported is 3.11.