-
-
Notifications
You must be signed in to change notification settings - Fork 688
Remove support for Python2 #1129
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
Conversation
Quick quip here, say, macOS Mojave still comes with Python 2.7 as the default python + MacVim is linked against that. I suddenly was getting large swaths of errors and I think it is because of the removal of python2 support from UltiSnips a few days ago. Long story short: UltiSnips won't work out of the box anymore on macOS, up and including current Catalina (10.15). For more info about what apple will do post 10.16, see here btw: https://www.macobserver.com/analysis/macos-catalina-deprecates-unix-scripting-languages/ While I appreciate that Python 2.x is dead as a doorknob, this change is, from the perspective of a mac user in the coming 1.5 years, not the best one ever. |
@rubin55 Thanks for raising your concerns! I am a full time mac user and it seems reasonable to me to expect people to Another reasonable option is to pin to the 3.2 release of UltiSnips which still supports Python2. |
Hi, I just wanted to report that this broke my VIM on some occasions. The issue was that some plugins call The real solution would of course be for every plugin to first call Just wanted to let you know and maybe help other people that stumble upon this issue. |
mac os still comes with python2.7 as default, so I suggest at least place some info in doc or README about python2 compatibility (using old release/tag/branch, etc) |
@ZSaberLv0 Could you send a Pull request where you would have searched for such information and how you would have liked it to be phrased? |
I think the best solution for now, is using vim-plug like this
|
It's really unfortunate that this change was made because MacVim is distributed as a prebuilt binary and OSX still only comes with 2.7 installed. Many MacVim (maybe the largest portion) do not install MacVim through brew. I can pin to 3.2, but it's harder to recommend that other people pin to 3.2 when communicating instructions for setting up a decent Vim environment and sharing those instructions with people. I understand the tradeoffs here and maybe you're making the right call - just wanted to provide an explanation of how many people might be troubled by this. |
Python 3 is > 10 years old and Python 2 will no longer be supported in a few months. Time to get rid of it, simplifying the code base (slightly) and opening the opportunities to use the Py3 quality of life improvements.