Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 414009d

Browse filesBrowse files
feat: remove support for Python 3.6, require 3.7 or higher
Python 3.6 is End-of-Life (EOL) as of 2021-12 as stated in https://www.python.org/dev/peps/pep-0494/ By dropping support for Python 3.6 and requiring Python 3.7 or higher it allows python-gitlab to take advantage of new features in Python 3.7, which are documented at: https://docs.python.org/3/whatsnew/3.7.html Some of these new features that may be useful to python-gitlab are: * PEP 563, postponed evaluation of type annotations. * dataclasses: PEP 557 – Data Classes * importlib.resources * PEP 562, customization of access to module attributes. * PEP 560, core support for typing module and generic types. * PEP 565, improved DeprecationWarning handling BREAKING CHANGE: As of python-gitlab 3.0.0, Python 3.6 is no longer supported. Python 3.7 or higher is required.
1 parent 178ec1a commit 414009d
Copy full SHA for 414009d

File tree

Expand file treeCollapse file tree

4 files changed

+3
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-6
lines changed
Open diff view settings
Collapse file

‎.github/workflows/test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test.yml
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
- python-version: 3.6
22-
toxenv: py36
2321
- python-version: 3.7
2422
toxenv: py37
2523
- python-version: 3.8
Collapse file

‎docs/install.rst‎

Copy file name to clipboardExpand all lines: docs/install.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installation
33
############
44

5-
``python-gitlab`` is compatible with Python 3.6+.
5+
``python-gitlab`` is compatible with Python 3.7+.
66

77
Use :command:`pip` to install the latest stable version of ``python-gitlab``:
88

Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_version() -> str:
3232
package_data={
3333
"gitlab": ["py.typed"],
3434
},
35-
python_requires=">=3.6.0",
35+
python_requires=">=3.7.0",
3636
entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]},
3737
classifiers=[
3838
"Development Status :: 5 - Production/Stable",
@@ -44,7 +44,6 @@ def get_version() -> str:
4444
"Operating System :: Microsoft :: Windows",
4545
"Programming Language :: Python",
4646
"Programming Language :: Python :: 3",
47-
"Programming Language :: Python :: 3.6",
4847
"Programming Language :: Python :: 3.7",
4948
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
Collapse file

‎tox.ini‎

Copy file name to clipboardExpand all lines: tox.ini
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py310,py39,py38,py37,py36,pep8,black,twine-check,mypy,isort
4+
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort
55

66
[testenv]
77
passenv = GITLAB_IMAGE GITLAB_TAG

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.