Skip to content

Commit 47a4117

Browse files
feat!: drop Python 3.10 support and add Python 3.15
Python 3.10 is End-of-Life (EOL) as of 2026-10 as stated in https://devguide.python.org/versions/ and https://peps.python.org/pep-0619/#lifespan By dropping support for Python 3.10 and requiring Python 3.11 or higher it allows python-gitlab to take advantage of new features in Python 3.11, which are documented at: https://docs.python.org/3/whatsnew/3.11.html Also mark Python 3.15 as officially supported as it has been released, and use it for the macOS and Windows tests. BREAKING CHANGE: As of python-gitlab 9.0.0, Python 3.10 is no longer supported. Python 3.11 or higher is required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8daa940 commit 47a4117

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
matrix:
2727
os: [ubuntu-latest]
2828
python:
29-
- version: "3.10"
30-
toxenv: py310,smoke
3129
- version: "3.11"
3230
toxenv: py311,smoke
3331
- version: "3.12"
@@ -36,15 +34,17 @@ jobs:
3634
toxenv: py313,smoke
3735
- version: "3.14"
3836
toxenv: py314,smoke
37+
- version: "3.15"
38+
toxenv: py315,smoke
3939
include:
4040
- os: macos-latest
4141
python:
42-
version: "3.14"
43-
toxenv: py314,smoke
42+
version: "3.15"
43+
toxenv: py315,smoke
4444
- os: windows-latest
4545
python:
46-
version: "3.14"
47-
toxenv: py314,smoke
46+
version: "3.15"
47+
toxenv: py315,smoke
4848
steps:
4949
- uses: actions/checkout@v7.0.1
5050
- name: Set up Python ${{ matrix.python.version }}

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Features
5353
Installation
5454
------------
5555

56-
As of 7.0.0, ``python-gitlab`` is compatible with Python 3.10+.
56+
As of 9.0.0, ``python-gitlab`` is compatible with Python 3.11+.
5757

5858
Use ``pip`` to install the latest stable version of ``python-gitlab``:
5959

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
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.10.0"
18+
requires-python = ">=3.11.0"
1919
dependencies = [
2020
"requests>=2.32.0",
2121
"requests-toolbelt>=1.0.0",
@@ -30,11 +30,11 @@ classifiers = [
3030
"Operating System :: Microsoft :: Windows",
3131
"Programming Language :: Python",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 3.10",
3433
"Programming Language :: Python :: 3.11",
3534
"Programming Language :: Python :: 3.12",
3635
"Programming Language :: Python :: 3.13",
3736
"Programming Language :: Python :: 3.14",
37+
"Programming Language :: Python :: 3.15",
3838
]
3939
keywords = ["api", "client", "gitlab", "python", "python-gitlab", "wrapper"]
4040
license = {text = "LGPL-3.0-or-later"}

‎tox.ini‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
minversion = 4.0
33
skipsdist = True
44
skip_missing_interpreters = True
5-
envlist = py314,py313,py312,py311,py310,black,isort,flake8,mypy,twine-check,cz,pylint
5+
envlist = py315,py314,py313,py312,py311,black,isort,flake8,mypy,twine-check,cz,pylint
66

77
# NOTE(jlvillal): To use a label use the `-m` flag.
88
# For example to run the `func` label group of environments do:
99
# tox -m func
1010
labels =
1111
lint = black,isort,flake8,mypy,pylint,cz
12-
unit = py314,py313,py312,py311,py310
12+
unit = py315,py314,py313,py312,py311
1313
# func is the functional tests. This is very time consuming.
1414
func = cli_func_v4,api_func_v4
1515

0 commit comments

Comments
 (0)