Repository navigation
feat: remove support for Python 3.6, require 3.7 or higher - #1705
Merged
nejch merged 1 commit into
main from
jlvillal/drop_py_36
Nov 23, 2021
Merged
Conversation
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
max-wittig
approved these changes
Nov 23, 2021
View reviewed changes
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.
|
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.
|
feat: remove support for Python 3.6, require 3.7 or higher
414009d
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
force-pushed
the
jlvillal/drop_py_36
branch
from
8bede45 to
414009d
Compare
November 23, 2021 20:10
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
approved these changes
Nov 23, 2021
View reviewed changes
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
Breaking changes in 3.0.0
#1520
Closed
15 tasks done
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
None yet
3 participants