-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Installing zulip-term in Python 3.10 fallbacks to zulip-term 0.2.1 #1145
Comments
@JPTIZ Thanks for reporting this! Your debugging seems accurate to me 👍 We don't (cannot?) say that we are compatible with future python versions, in the releases we make. To summarize:
Note that we extended support in Are you using 3.10 with the I'm not sure how we can fix this for future python versions unless we avoid early versions from installing from pypi, though this is definitely an issue for the next release! |
And I agree, from a stability point of view at least. It is a safe decision that can rely on tools like
Everything ok for now, didn't have any issues at all, or at least no new issues. All issues I have are known issues that I already had on Py3.9, such as the negative message count bug, eventual (sort of rare) freezes when writing on private messages and not being able to send private messages to someone who has accents (~) on its name. No crashes or any new problem emerging from Py3.10. |
@JPTIZ Just a note to say I've mentioned this issue in the documentation in #1159 and plan to close this after merging, using this for reference only. I'm not sure if you're on chat.zulip.org (in which case I'd be happy to chat in #zulip-terminal or elsewhere), but otherwise I'd be interested to hear briefly here about anything which we don't have in a reported issue, which sounds like it could include accents on names? If there's a way we could improve that behavior that would be great; does that occur in the web app or mobile? |
Now I am :)
Didn't try on mobile, but web-app works pretty fine. On zulip-terminal, though, it says it couldn't find user named <name of the person that has accents ("~" in my case) in its name>. Of course, it might be another thing, but the only difference I could notice was the accent on the "target" user of the message. As I have a accent in my chat.zulip.org username, we could try to test this there. This and the miscounting of unread messages are the only issues I have currently. |
The note relating to zulip#1145 is retained, but testing in CI indicates a more specific error is given if there is no matching python for a user's environment - now that versions 0.2.0 and 0.2.1 have been yanked from PyPI. Instead of a broken install of a very old version, a recent pip should error with a message along the lines of `ERROR: Package 'zulip-term' requires a different Python: 3.11.3 not in <3.11,>=3.7'`
The note relating to zulip#1145 is retained, but testing in CI indicates a more specific error is given if there is no matching python for a user's environment - now that versions 0.2.0 and 0.2.1 have been yanked from PyPI. Instead of a broken install of a very old version, a recent pip should error with a message along the lines of `ERROR: Package 'zulip-term' requires a different Python: 3.11.3 not in <3.11,>=3.7'`
The note relating to #1145 is retained, but testing in CI indicates a more specific error is given if there is no matching python for a user's environment - now that versions 0.2.0 and 0.2.1 have been yanked from PyPI. Instead of a broken install of a very old version, a recent pip should error with a message along the lines of `ERROR: Package 'zulip-term' requires a different Python: 3.11.3 not in <3.11,>=3.7'`
The note relating to zulip#1145 is retained, but testing in CI indicates a more specific error is given if there is no matching python for a user's environment - now that versions 0.2.0 and 0.2.1 have been yanked from PyPI. Instead of a broken install of a very old version, a recent pip should error with a message along the lines of `ERROR: Package 'zulip-term' requires a different Python: 3.11.3 not in <3.11,>=3.7'`
As previously mentioned in #1143, newer versions of zulip installed through
pip
fail to start due to the following error:Some debugging
Looking at the end of installation log, zulip-term-0.2.1 is installed instead of 0.6.0:
Getting the 0.6.0 .whl file and building it manually shows that 0.6.0 is incompatible with Python 3.10:
Which might be the cause, maybe it is falling back to a previous version which apparently didn't had any Python restrictions (at least checking 0.2.0 tagged commit's file tree).
The text was updated successfully, but these errors were encountered: