vim python 2.x support missing

Bug #1654882 reported by Ameya Vikram Singh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

While using vim with vim-youcompleteme is completely broken in Ubuntu 16.04.

While running the command:

vim --version | grep python

I observed the python support is missing in this vim build: -python

+cryptv +linebreak -python +vreplace
+cscope +lispindent +python3 +wildignore
Linking: gcc -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib -llua5.2 -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm

Currently the vim-youcompleteme is completely unusable from vim-addon-manager.

Also many vim plugin which I am currently using which requires this python support have stopped working altogether such as clang-format.py

Kindly release an updated version with support for python-2.x.

Revision history for this message
Ameya Vikram Singh (ameya-v-singh) wrote :
Revision history for this message
Adam Conrad (adconrad) wrote :

vim can't reliably/sanely run with python2 and python3 both linked in (despite the build system letting you try), so we chose python3. I'd encourage you to upgrade your addons to py3 and give that a whirl.

If, however, you're stuck with python2 for now, you might want to try installing "vim-nox-py2", which exists in xenial and yakkety for this very reason. We've dropped it in zesty and beyond, however.

Changed in vim (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.