FS#52401 - [vim] python 3.6 rebuild

Attached to Project: Arch Linux
Opened by Eli Schwartz (eschwartz) - Friday, 06 January 2017, 15:48 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 07 January 2017, 18:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Anatol Pomozov (anatolik)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Vim has the python3 interpreter enabled, which means it needs to be rebuilt whenever the python3 shared library name changes. Since it is dynamically loaded, Vim still starts (just like it does when python isn't installed) and that might not be immediately noticeable, but people have been reporting that their python3 plugins aren't working now.

Please rebuild Vim/update to the latest snapshot, and maybe take a note of this non-obvious rebuild. :)
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Saturday, 07 January 2017, 18:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  8.0.0149
Comment by Anatol Pomozov (anatolik) - Friday, 06 January 2017, 17:00 GMT
Vangelis/Felix could you please look at it?
Comment by Dominik Fischer (XZS) - Friday, 06 January 2017, 17:02 GMT
I just tried to rebuild the vim package as it is and also sourcing from git. The checks fail in both cases, indicating that Vim may not be yet completely compatible with Python 3.6. However, ignoring this with "makepkg --nocheck" builds a package that at least supports the powerline plugin, which I run with python 3.6.
Comment by Doug Newgard (Scimmia) - Friday, 06 January 2017, 17:42 GMT
Anatol, what would you like looked at? Vim dlopens python instead of linking to it directly, and it's trying to open the old library. It needs a rebuild.
Comment by Anatol Pomozov (anatolik) - Friday, 06 January 2017, 18:05 GMT
I mean could you please rebuild vim? I will not have access to my computer in the next few days.
Comment by Anatol Pomozov (anatolik) - Saturday, 07 January 2017, 17:40 GMT
A new version has been pushed to [extra]. ':python3' loads correct python version now. Please pull 8.0.0149 from [extra] and give it a try.

More related info:
Here is the forum discussion https://bbs.archlinux.org/viewtopic.php?id=221579
And here is the upstream issue that tracks vim test failure with python3.6 https://github.com/vim/vim/issues/1359

Loading...