Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Python >=3.6 and upgrade syntax #87

Merged
merged 3 commits into from
Oct 24, 2022
Merged

Conversation

EwoutH
Copy link

@EwoutH EwoutH commented Oct 18, 2022

Drop Python 2 and Python 3.5 and lower support, require at least Python 3.6.

Python 3.6 is already end-of-life, but relatively easy to maintain. It allows for using f-strings and other modern functions. Python 3.7 is currently the oldest supported Python version.

This PR also upgrade Python syntax to 3.6, using pyupgrade with --py36-plus.

This allows to for new development to use modern Python syntax and features. Of course older releases can still be used with older Python versions.

Drop Python 2 and Python 3.5 and lower support, require at least Python 3.6.

Python 3.6 is already end-of-life, but relatively easy to maintain. It allows for using f-strings and other modern functions. Python 3.7 is currently the oldest supported Python version.
Upgrade all code to Python 3 syntax with pyupgrade.
Upgrade all code to Python 3.6 syntax with pyupgrade --py36-plus.
@d1618033
Copy link

Thank you!

@d1618033 d1618033 merged commit fd5a3db into Infinidat:develop Oct 24, 2022
@pgajdos pgajdos mentioned this pull request Jun 8, 2023
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.

None yet

2 participants