From 74d90b74107f89a93c9764120216e95d70132c4e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 24 Dec 2025 11:24:47 +0900 Subject: [PATCH] Remove Python 3.9 support ... because it already reached EOL. --- .github/workflows/python-gnocchiclient.yml | 2 +- .mergify.yml | 12 ++++++------ setup.cfg | 3 ++- tools/install_deps.sh | 10 +++++----- tox.ini | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/python-gnocchiclient.yml b/.github/workflows/python-gnocchiclient.yml index 98ec8c4..46348b3 100644 --- a/.github/workflows/python-gnocchiclient.yml +++ b/.github/workflows/python-gnocchiclient.yml @@ -14,7 +14,7 @@ jobs: - docs-gnocchi-web - build - pep8 - - py39 + - py310 - py311 - py312 steps: diff --git a/.mergify.yml b/.mergify.yml index ade196e..109644d 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -6,16 +6,16 @@ queue_rules: - check-success=test (docs-gnocchi-web) - check-success=test (build) - check-success=test (pep8) - - check-success=test (py38) - - check-success=test (py39) + - check-success=test (py310) - check-success=test (py311) + - check-success=test (py312) merge_conditions: - check-success=test (docs-gnocchi-web) - check-success=test (build) - check-success=test (pep8) - - check-success=test (py38) - - check-success=test (py39) + - check-success=test (py310) - check-success=test (py311) + - check-success=test (py312) merge_method: merge - name: duplicated default from automatic merge backports from Mergify queue_conditions: @@ -26,9 +26,9 @@ queue_rules: - check-success=test (docs-gnocchi-web) - check-success=test (build) - check-success=test (pep8) - - check-success=test (py38) - - check-success=test (py39) + - check-success=test (py310) - check-success=test (py311) + - check-success=test (py312) merge_method: merge pull_request_rules: diff --git a/setup.cfg b/setup.cfg index 6f1f81b..615e407 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description_file = long_description_content_type = text/x-rst author = Gnocchi home_page = http://gnocchi.osci.io/gnocchiclient -python_requires = >=3.9 +python_requires = >=3.10 classifier = Intended Audience :: Information Technology Intended Audience :: System Administrators @@ -19,6 +19,7 @@ classifier = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 [options] packages = diff --git a/tools/install_deps.sh b/tools/install_deps.sh index 8a1ffb6..1a5740d 100755 --- a/tools/install_deps.sh +++ b/tools/install_deps.sh @@ -10,13 +10,13 @@ sudo apt-get update -y && sudo apt-get install -qy \ python3 \ python3-dev \ python3-pip \ - python3.9 \ - python3.9-dev \ - python3.9-distutils \ + python3.10 \ + python3.10-dev \ + python3.10-distutils \ python3.11 \ python3.11-dev \ - python3.12 \ - python3.12-dev + python3.11-distutils \ + tox sudo rm -rf /var/lib/apt/lists/* diff --git a/tox.ini b/tox.ini index 737a629..61a88cc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1 -envlist = py38,py39,py310,py311,py312,pep8,docs-gnocchi-web +envlist = py310,py311,py312,pep8,docs-gnocchi-web skipsdist = True [testenv]