From f9b0f42eec10356443ac0c77f9e7a6c521b59cb7 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Tue, 1 Oct 2024 08:30:27 -0700 Subject: [PATCH] feat: remove support for Python 3.8, require 3.9 or higher Python 3.8 is End-of-Life (EOL) as of 2024-10 as stated in https://devguide.python.org/versions/ and https://peps.python.org/pep-0569/#lifespan By dropping support for Python 3.8 and requiring Python 3.9 or higher it allows python-gitlab to take advantage of new features in Python 3.9, which are documented at: https://docs.python.org/3/whatsnew/3.9.html Closes: #2968 BREAKING CHANGE: As of python-gitlab 5.0.0, Python 3.8 is no longer supported. Python 3.9 or higher is required. --- .github/workflows/test.yml | 2 -- README.rst | 2 +- pyproject.toml | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af18fdf02..fa9298cfe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,8 +26,6 @@ jobs: matrix: os: [ubuntu-latest] python: - - version: "3.8" - toxenv: py38,smoke - version: "3.9" toxenv: py39,smoke - version: "3.10" diff --git a/README.rst b/README.rst index 3f6489629..ff5fb4141 100644 --- a/README.rst +++ b/README.rst @@ -51,7 +51,7 @@ Features Installation ------------ -As of 4.0.0, ``python-gitlab`` is compatible with Python 3.8+. +As of 5.0.0, ``python-gitlab`` is compatible with Python 3.9+. Use ``pip`` to install the latest stable version of ``python-gitlab``: diff --git a/pyproject.toml b/pyproject.toml index 01674cb8f..4346df6a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ maintainers = [ {name = "Nejc Habjan", email="nejc.habjan@siemens.com"}, {name = "Roger Meier", email="r.meier@siemens.com"} ] -requires-python = ">=3.8.0" +requires-python = ">=3.9.0" dependencies = [ "requests>=2.32.0", "requests-toolbelt>=1.0.0", @@ -30,7 +30,6 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "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",