Skip to content

Commit 8bede45

Browse 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
1 parent 178ec1a commit 8bede45

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/test.yml

Lines 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

docs/install.rst

Lines changed: 1 addition & 1 deletion
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

setup.py

Lines 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",

tox.ini

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy