From 894c8be8eddaf97dead12dc564b73d2c5dbb50e0 Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <kajinamit@oss.nttdata.com>
Date: Thu, 24 Oct 2024 18:07:09 +0900
Subject: [PATCH] Remove Python 3.8 support

Python 3.8 is no longer part of the tested runtimes for 2024.2[1]
because its EOL is coming soon.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: I5a8de4f7a16fafe7b6d3d583d60929786548f4ea
---
 releasenotes/notes/remove-py38-61e67d0181db1aaf.yaml | 5 +++++
 setup.cfg                                            | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 releasenotes/notes/remove-py38-61e67d0181db1aaf.yaml

diff --git a/releasenotes/notes/remove-py38-61e67d0181db1aaf.yaml b/releasenotes/notes/remove-py38-61e67d0181db1aaf.yaml
new file mode 100644
index 00000000..04031636
--- /dev/null
+++ b/releasenotes/notes/remove-py38-61e67d0181db1aaf.yaml
@@ -0,0 +1,5 @@
+---
+upgrade:
+  - |
+    Support for Python 3.8 has been removed. Now the minimum python version
+    supported is 3.9 .
diff --git a/setup.cfg b/setup.cfg
index c922e68b..975fb189 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,7 +6,7 @@ description_file =
 author = OpenStack
 author_email = openstack-discuss@lists.openstack.org
 home_page = https://docs.openstack.org/castellan/latest/
-python_requires = >=3.8
+python_requires = >=3.9
 classifier =
     Environment :: OpenStack
     Intended Audience :: Information Technology
@@ -15,7 +15,6 @@ classifier =
     Operating System :: POSIX :: Linux
     Programming Language :: Python
     Programming Language :: Python :: 3
-    Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
     Programming Language :: Python :: 3.10
     Programming Language :: Python :: 3.11