diff options
author | John L. Villalovos <john@sodarock.com> | 2021-11-22 22:17:45 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-11-23 12:10:20 -0800 |
commit | 414009daebe19a8ae6c36f050dffc690dff40e91 (patch) | |
tree | 36dbd1975fd2bce8af05753917a62d65e0ef82cd /setup.py | |
parent | 178ec1aa5183b3d042fbde29f53f64c410d6caed (diff) | |
download | gitlab-414009daebe19a8ae6c36f050dffc690dff40e91.tar.gz |
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.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -32,7 +32,7 @@ setup( package_data={ "gitlab": ["py.typed"], }, - python_requires=">=3.6.0", + python_requires=">=3.7.0", entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]}, classifiers=[ "Development Status :: 5 - Production/Stable", @@ -44,7 +44,6 @@ setup( "Operating System :: Microsoft :: Windows", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", |