Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit414009d

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 inhttps://www.python.org/dev/peps/pep-0494/By dropping support for Python 3.6 and requiring Python 3.7 or higherit allows python-gitlab to take advantage of new features in Python3.7, which are documented at:https://docs.python.org/3/whatsnew/3.7.htmlSome 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 handlingBREAKING CHANGE: As of python-gitlab 3.0.0, Python 3.6 is no longersupported. Python 3.7 or higher is required.
1 parent178ec1a commit414009d

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)

[8]ページ先頭

©2009-2025 Movatter.jp