zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
350 stars 356 forks source link

Drop Python 3.5 #655

Open rht opened 3 years ago

rht commented 3 years ago

Since Python 3.5 is already EOL, we no longer have to support it.

timabbott commented 3 years ago

I think this is fine, but one thing worth noting is that we do often here from users who have university IT systems that are running an old version of Python with 2.7, even today. I think it's worth as part of this documenting clearly on https://zulip.com/api/installation-instructions that the latest bindings support non-EOL Python only (3.6+), but give the commands for pip install zulip==x for the last release supporting 2.7 and similarly for 3.5? Or if pip install zulip will just work there (which it should), just documenting the fact that old versions will be fine for almost all purposes clearly where we mention our Python version requirements.

andersk commented 3 years ago

Are you sure those users aren’t just confused by their default /usr/bin/pythonpython2 and /usr/bin/pippip2 aliases and/or unaware that Python 2 and 3 can be installed together?

timabbott commented 3 years ago

I suspect they don't have root on their old RHEL 6 system and it didn't come with Python 3 installed. But I don't know for sure, as they didn't reply to my question for clarification.

timabbott commented 3 years ago

It looks like the README.md for this project already documents options for older Python; we should njust copy a version of that to the zulip.com/api/ content as well.