[arch-general] [Proposal] add python 3 support for gvim in [extra]
Hey all, I would like to add progress to the bug "FS#34397 - [gvim] has --disable-python3interp" [0]. I feel like it's about time to start looking into supporting python 3 in gvim. After some research, it looks like it would be problematic to support both python versions compiled into the same vim version. That said, python2 seems to still be the primary target of most vim plugins. Though a lot of these plugins also support python 3 at the same time. Currently there is no obvious "right" answer to which python version we should support since python2 obviously has the most support, but on the other hand, we should support the latest version of python since that is where the future lies. This proposal is to keep the existing vim/gvim packages in [extra], but add a 3rd split version called gvim-python3 or just gvim-python which would provide the exact same features as gvim except with python 3 support instead of python 2. This would allow the community to start experimenting with python 3 support and start reporting any issues to upstream vim plugins. While allowing users that don't really want to live on the edge to still use gvim as they previously had been using it. Eventually I would like to replace gvim with the python 3 version and provide a gvim-python2 version so that the default becomes python 3 but we would still provide a python 2 version for people that still need it. After some more time, I would like to eventually drop gvim-python2 to the aur and only support the python 3 version. I still don't know when these switches will happen, but for now, I would like to take the first step. It also seems that there is a python 3 version of gvim available in the aur [1]. Hopefully this would allow more people to experiment with python 3 support by removing the need to compile it and have it in supported repos. What do yall think? [0] - https://bugs.archlinux.org/task/34397 [1] - https://aur.archlinux.org/packages/gvim-python/
Excellent idea!!! Hector On 21 May 2014 21:35, Thomas Dziedzic <gostrc@gmail.com> wrote:
Hey all,
I would like to add progress to the bug "FS#34397 - [gvim] has --disable-python3interp" [0].
I feel like it's about time to start looking into supporting python 3 in gvim. After some research, it looks like it would be problematic to support both python versions compiled into the same vim version. That said, python2 seems to still be the primary target of most vim plugins. Though a lot of these plugins also support python 3 at the same time.
Currently there is no obvious "right" answer to which python version we should support since python2 obviously has the most support, but on the other hand, we should support the latest version of python since that is where the future lies.
This proposal is to keep the existing vim/gvim packages in [extra], but add a 3rd split version called gvim-python3 or just gvim-python which would provide the exact same features as gvim except with python 3 support instead of python 2.
This would allow the community to start experimenting with python 3 support and start reporting any issues to upstream vim plugins. While allowing users that don't really want to live on the edge to still use gvim as they previously had been using it.
Eventually I would like to replace gvim with the python 3 version and provide a gvim-python2 version so that the default becomes python 3 but we would still provide a python 2 version for people that still need it. After some more time, I would like to eventually drop gvim-python2 to the aur and only support the python 3 version. I still don't know when these switches will happen, but for now, I would like to take the first step.
It also seems that there is a python 3 version of gvim available in the aur [1]. Hopefully this would allow more people to experiment with python 3 support by removing the need to compile it and have it in supported repos.
What do yall think?
[0] - https://bugs.archlinux.org/task/34397 [1] - https://aur.archlinux.org/packages/gvim-python/
-- Hector Martínez-Seara Monné mail: hseara@gmail.com Tel: +34656271145 Tel: +358442709253
have it in supported repos.
What do yall think?
Sounds good to me. I use python 3 a lot (and gvim) so encouraging plug-ins to start supporting python 3 in my view will benefit many. Cheers, Dan.
21.05.2014, 22:35, "Thomas Dziedzic" <gostrc@gmail.com>:
Hey all,
I would like to add progress to the bug "FS#34397 - [gvim] has --disable-python3interp" [0].
I feel like it's about time to start looking into supporting python 3 in gvim. After some research, it looks like it would be problematic to support both python versions compiled into the same vim version. That said, python2 seems to still be the primary target of most vim plugins. Though a lot of these plugins also support python 3 at the same time.
Currently there is no obvious "right" answer to which python version we should support since python2 obviously has the most support, but on the other hand, we should support the latest version of python since that is where the future lies.
This proposal is to keep the existing vim/gvim packages in [extra], but add a 3rd split version called gvim-python3 or just gvim-python which would provide the exact same features as gvim except with python 3 support instead of python 2.
This would allow the community to start experimenting with python 3 support and start reporting any issues to upstream vim plugins. While allowing users that don't really want to live on the edge to still use gvim as they previously had been using it.
Eventually I would like to replace gvim with the python 3 version and provide a gvim-python2 version so that the default becomes python 3 but we would still provide a python 2 version for people that still need it. After some more time, I would like to eventually drop gvim-python2 to the aur and only support the python 3 version. I still don't know when these switches will happen, but for now, I would like to take the first step.
It also seems that there is a python 3 version of gvim available in the aur [1]. Hopefully this would allow more people to experiment with python 3 support by removing the need to compile it and have it in supported repos.
What do yall think?
[0] - https://bugs.archlinux.org/task/34397 [1] - https://aur.archlinux.org/packages/gvim-python/
Seems like a very good idea. Python 3 is the default Python in Arch anyway, no reason to make an exception for Vim.
... Python 3 is the default Python in Arch anyway
that was a rushed decission, and created a lot of problems -- damjan
If there is only a handful of vim plug-ins that does not yet support python 3, how about letting the community help with porting them for the next 30 days. Gvim with python 3 support can be pushed to [testing] in order to help the transition. Then after 30 days have passed, make a clean break to gvim/py3 and move gvim/py2 to AUR. Porting vim plug-ins from py2 to py3 *should* be relatively easy and this method should be both clean and user friendly. - Alexander / xyproto
participants (6)
-
Alexander Rødseth
-
Damjan Georgievski
-
Delcypher
-
Hector Martinez-Seara
-
Richter Vania
-
Thomas Dziedzic