Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update setup for release supporting python >= 3.5 #306

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

Closed
wants to merge 1 commit into from

Conversation

lsabi
Copy link
Contributor

@lsabi lsabi commented Oct 30, 2023

Reason for the change
Update the setup for building the package

Description
A clear and concise description of what did you changed and why.

Code examples
If applicable, add code examples to help explain your changes.

Checklist

References
Anything else related to the change e.g. documentations, RFCs, etc.

@codeclimate
Copy link

codeclimate bot commented Oct 30, 2023

Code Climate has analyzed commit 216200d and detected 0 issues on this pull request.

View more on Code Climate.

@lsabi lsabi mentioned this pull request Oct 30, 2023
10 tasks
@srh srh requested review from srh and removed request for srh October 30, 2023 21:51
@srh
Copy link
Contributor

srh commented Oct 30, 2023

Why have this change?

@lsabi
Copy link
Contributor Author

lsabi commented Oct 31, 2023

The changes are for python 3.5. Furthermore, maintaining python 2.x support while supporting python 3.5 and 3.10+ is complicated.

Do you think python 2.x should still be supported?

@srh
Copy link
Contributor

srh commented Nov 1, 2023

Well, right now, the master branch works with Python 2.7. So I don't think we should change the setup.py to disallow Python 2.7.

Also, Python 3.4 should still work, except for asyncio.

As for the future -- your lsabi/commands branch obviously has static types, which would make it impossibly annoying to keep Python 2 support. And such users could simply not upgrade, or use a fork if necessary.

@lsabi
Copy link
Contributor Author

lsabi commented Nov 1, 2023

Then it should be changed only to python 2.7 and >=3.5 ?

For the future, I would drop even python <3.6 support, as this has been as noted on the official website https://devguide.python.org/versions/

@srh
Copy link
Contributor

srh commented Nov 2, 2023

I don't know enough about Python packaging to know whether adding !=3.4.* is a good idea or not; obviously asyncio stopped working so maybe we want it; I personally would pick whatever is least annoying to users in general but I'm not in charge of this project...

@lsabi
Copy link
Contributor Author

lsabi commented Nov 5, 2023

Neither am I in charge, but I believe that most of the users will use python 3.6 or above, since major cloud providers have already dropped support (see list below). The best is to support the currently supported version and optionally 1-2 versions back.

https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/
https://azure.microsoft.com/en-us/updates/azure-functions-support-for-python-36-is-ending-on-30-september-2022/

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.

2 participants