Skip to content

Commit 7a33bf2

Browse files
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.
1 parent 0ceebd0 commit 7a33bf2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
matrix:
2727
os: [ubuntu-latest]
2828
python:
29-
- version: "3.8"
30-
toxenv: py38,smoke
3129
- version: "3.9"
3230
toxenv: py39,smoke
3331
- version: "3.10"

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Features
5151
Installation
5252
------------
5353

54-
As of 4.0.0, ``python-gitlab`` is compatible with Python 3.8+.
54+
As of 5.0.0, ``python-gitlab`` is compatible with Python 3.9+.
5555

5656
Use ``pip`` to install the latest stable version of ``python-gitlab``:
5757

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maintainers = [
1515
{name = "Nejc Habjan", email="nejc.habjan@siemens.com"},
1616
{name = "Roger Meier", email="r.meier@siemens.com"}
1717
]
18-
requires-python = ">=3.8.0"
18+
requires-python = ">=3.9.0"
1919
dependencies = [
2020
"requests>=2.32.0",
2121
"requests-toolbelt>=1.0.0",
@@ -30,7 +30,6 @@ classifiers = [
3030
"Operating System :: Microsoft :: Windows",
3131
"Programming Language :: Python",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 3.8",
3433
"Programming Language :: Python :: 3.9",
3534
"Programming Language :: Python :: 3.10",
3635
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)