FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: remove support for Python 3.6, require 3.7 or higher by JohnVillalovos · Pull Request #1705 · python-gitlab/python-gitlab · GitHub

Repository navigation

feat: remove support for Python 3.6, require 3.7 or higher - #1705

Merged
nejch merged 1 commit into
mainfrom
jlvillal/drop_py_36
Nov 23, 2021
Merged

nejch merged 1 commit into
mainfrom
jlvillal/drop_py_36

Conversation

JohnVillalovos commented Nov 23, 2021 •
edited
Loading

Copy link
Copy Markdown
Member

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.

JohnVillalovos requested a review from nejch November 23, 2021 06:29

Copy link
Copy Markdown
Member Author

FYI: Before this can be merged it will require some setting change in the project settings I believe. So that the Python 3.6 check is no longer required.

nejch commented Nov 23, 2021 •
edited
Loading

Copy link
Copy Markdown
Member

Thanks John! Could you just add a BREAKING CHANGE: trailer for this?

I've removed 3.6 as a required check.

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.

JohnVillalovos commented Nov 23, 2021 •
edited
Loading

Copy link
Copy Markdown
Member Author

Thanks John! Could you just add a BREAKING CHANGE: trailer for this?

Done!

I've removed 3.6 as a required check.

Thanks.

nejch merged commit a390ec3 into main Nov 23, 2021
nejch deleted the jlvillal/drop_py_36 branch November 23, 2021 20:40
nejch mentioned this pull request Nov 27, 2021
15 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL