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

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intomainfromjlvillal/drop_py_36
Nov 23, 2021

Conversation

JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedNov 23, 2021
edited
Loading

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
Copy link
MemberAuthor

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
Copy link
Member

nejch commentedNov 23, 2021
edited
Loading

Thanks John! Could you just add aBREAKING 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 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.
@JohnVillalovos
Copy link
MemberAuthor

JohnVillalovos commentedNov 23, 2021
edited
Loading

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

Done!

I've removed 3.6 as a required check.

Thanks.

@nejchnejch merged commita390ec3 intomainNov 23, 2021
@nejchnejch deleted the jlvillal/drop_py_36 branchNovember 23, 2021 20:40
@nejchnejch mentioned this pull requestNov 27, 2021
15 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@max-wittigmax-wittigmax-wittig approved these changes

@nejchnejchnejch approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JohnVillalovos@nejch@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp