From acc8faf1c9ca18b624ca909b0139e18be1505ebd Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 25 Oct 2024 16:25:59 +0300 Subject: [PATCH] [Python]: Drop support for Python 3.7 and 3.8 Both of them are EOLed and cause problems with the CI checks Signed-off-by: Martin Tzvetanov Grigorov --- lang/py/setup.cfg | 4 +--- share/docker/Dockerfile | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lang/py/setup.cfg b/lang/py/setup.cfg index 5b2a6c78080..9e0d66cf0aa 100644 --- a/lang/py/setup.cfg +++ b/lang/py/setup.cfg @@ -33,8 +33,6 @@ license_files = avro/LICENSE license = Apache License 2.0 classifiers = License :: OSI Approved :: Apache Software License - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 @@ -56,7 +54,7 @@ include_package_data = true install_requires = typing-extensions;python_version<"3.8" zip_safe = true -python_requires = >=3.7 +python_requires = >=3.9 [options.entry_points] console_scripts = diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile index 7aba02e9837..6b5942056e9 100644 --- a/share/docker/Dockerfile +++ b/share/docker/Dockerfile @@ -71,10 +71,6 @@ RUN apt-get -qqy update \ python3.10 \ python3.11 \ python3.11-dev \ - python3.7 \ - python3.7-distutils \ - python3.8 \ - python3.8-distutils \ python3.9 \ python3.9-distutils \ source-highlight \