Skip to content

Commit 058d5a5

Browse files
JohnVillalovosnejch
authored andcommitted
feat: remove support for Python 3.7, require 3.8 or higher
Python 3.8 is End-of-Life (EOL) as of 2023-06-27 as stated in https://devguide.python.org/versions/ and https://peps.python.org/pep-0537/ By dropping support for Python 3.7 and requiring Python 3.8 or higher it allows python-gitlab to take advantage of new features in Python 3.8, which are documented at: https://docs.python.org/3/whatsnew/3.8.html BREAKING CHANGE: As of python-gitlab 4.0.0, Python 3.7 is no longer supported. Python 3.8 or higher is required.
1 parent db58cca commit 058d5a5

File tree

5 files changed

+3
-11
lines changed

5 files changed

+3
-11
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 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.7"
30-
toxenv: py37,smoke
3129
- version: "3.8"
3230
toxenv: py38,smoke
3331
- version: "3.9"

.renovaterc.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737
"packageName": "argcomplete",
3838
"enabled": false
3939
},
40-
{
41-
"description": "Pin pytest-console-scripts until we drop 3.7 support",
42-
"packageName": "pytest-console-scripts",
43-
"allowedVersions": "<1.4.1"
44-
},
4540
{
4641
"packagePatterns": [
4742
"^gitlab\/gitlab-.+$"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Features
5151
Installation
5252
------------
5353

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

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

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_version() -> str:
3636
package_data={
3737
"gitlab": ["py.typed"],
3838
},
39-
python_requires=">=3.7.0",
39+
python_requires=">=3.8.0",
4040
entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]},
4141
classifiers=[
4242
"Development Status :: 5 - Production/Stable",
@@ -48,7 +48,6 @@ def get_version() -> str:
4848
"Operating System :: Microsoft :: Windows",
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.7",
5251
"Programming Language :: Python :: 3.8",
5352
"Programming Language :: Python :: 3.9",
5453
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 1.6
33
skipsdist = True
44
skip_missing_interpreters = True
5-
envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint
5+
envlist = py311,py310,py39,py38,flake8,black,twine-check,mypy,isort,cz,pylint
66

77
[testenv]
88
passenv =

0 commit comments

Comments
 (0)