Broken in Xenial, vim requires python3 now

Bug #1538532 reported by Iain Lane
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
vim-youcompleteme (Ubuntu)
Fix Released
High
Matthias Klose
ycmd (Debian)
Fix Released
Unknown
ycmd (Ubuntu)
Fix Released
High
Unassigned

Bug Description

laney@xenial (ubuntu-xenial|✔)> dch
YouCompleteMe unavailable: requires Vim compiled with Python 2.x support
Press ENTER or type command to continue

This is annoying. Please fix it.

Iain Lane (laney)
Changed in vim-youcompleteme (Ubuntu):
assignee: nobody → Matthias Klose (doko)
Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Marcin Konarski (marcin-konarski+u1) wrote :

Not only YouCompleteMe is broken!
clang_complete and clighter also went down the tubes.
Very annoying.
What was the rationale behind the change?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vim-youcompleteme (Ubuntu):
status: New → Confirmed
Revision history for this message
Josh Arenson (josharenson) wrote :

Would it be possible to get a PPA with a version of vim where this isn't an issue? I've been trying to build it myself, but nothing has worked so far.

Revision history for this message
methane (songofacandy) wrote :
Revision history for this message
Iain Lane (laney) wrote :

Personally I have used apt to hold vim at a version before this change was made.

Revision history for this message
Val Markovic (val-5) wrote :

I'm the creator of YouCompleteMe. We're planning on supporting Python 3.3+ by the time Xenial is released.

Revision history for this message
Matthias Klose (doko) wrote :

thanks very much for this commitment. Once this is ready please subscribe ubuntu-sponsors to this bug report. We'll ne a feature freeze exception, but this should work, it's a leaf package not affecting other packages.

Changed in vim-youcompleteme (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Val Markovic (val-5) wrote :

@Matthias Please note we (the YCM developers) have nothing to do with the vim-youcomplete package. We don't even like that it exists (the canonical and _only_ supported way to install YCM is from source with our `install.py` script). My commitment to have YCM ready for Xenial refers to our desire to have the from-source installation working, not the vim-youcompleteme package.

Revision history for this message
Val Markovic (val-5) wrote :

YouCompleteMe (and ycmd) has been updated to be python 3 compatible upstream.

Revision history for this message
Josh Arenson (josharenson) wrote :

@Val I really appreciate the hard and fast work on resolving this. However, I'm still receiving a traceback after building and installing the latest code. Where are the logs located so I can take a look and report back here if necessary? In addition, if you have a BTC or paypal address, I'll totally throw you a six pack.

Revision history for this message
Val Markovic (val-5) wrote :

@Josh Make sure you are using the only supported installation method, which is using our `./install.py` script. (See the YCM docs for details.)

Also, providing the traceback you're getting would go a long way towards resolving the issue for you. :) Note that the best place to report YCM bugs is the YCM issue tracker: https://github.com/Valloric/YouCompleteMe/issues

Mathew Hodson (mhodson)
Changed in vim-youcompleteme (Ubuntu):
importance: Undecided → Medium
Changed in ycmd (Ubuntu):
importance: Undecided → Medium
Changed in vim-youcompleteme (Ubuntu):
importance: Medium → High
Changed in ycmd (Ubuntu):
importance: Medium → High
Changed in ycmd (Debian):
status: Unknown → New
Revision history for this message
Onur Aslan (onuraslan) wrote :

Hi guys. I am maintaner of ycmd and vim-youcompleteme packages for Debian. I saw this bug report few days ago and I updated ycmd and vim-youcompleteme packages for xenial.

They are available in here:

https://anonscm.debian.org/cgit/collab-maint/ycmd.git
https://anonscm.debian.org/cgit/collab-maint/vim-youcompleteme.git

Use ubuntu branch for vim-youcompleteme. It's using python3 to build vim-youcompleteme and both packages fully compatible and tested in xenial.

So if you wanna release new LTS with this packages consider uploading it (I am not sure if I have permission to do it myself).

Thanks!

Revision history for this message
Matthias Klose (doko) wrote :

ycmd now updated in 16.04 LTS

Changed in ycmd (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vim-youcompleteme - 0+20160327+git1b76af4-0ubuntu1

---------------
vim-youcompleteme (0+20160327+git1b76af4-0ubuntu1) xenial; urgency=low

  [ Onur Aslan ]
  * New upstream release. (LP: #1538532)
  * Refresh patches for new upstreal release.
  * Remove 01-vim-expression-to-python-type.patch (fixed in upstream).
  * Update 00-path-to-server-script.patch to avoid using sys.executable
    for python interpreter path.
  * Update dependencies to use python3.
  * Run nosetests3 in override_dh_auto_test.

  [ Matthias Klose ]
  * Add breaks to vim-athena-py2, vim-gnome-py2, vim-gtk-py2, vim-nox-py2.
  * Use python3 for the packaging.

vim-youcompleteme (0+20160229+git94ec3ed-1) unstable; urgency=low

  * New upstream release.
  * Bump Standards-Version to 3.9.7 (no changes).
  * Update ycmd dependency version in d/control.
  * Update 00-path-to-server-script.patch to set ycmd path in ycm.paths
    module.
  * Increase complexity for flake8 in d/rules override_dh_auto_test.
  * Use HTTPS URI's for Vcs-Git and Vcs-Browser fields.
  * Remove python-flake8 and add flake8 into Build-Depends.
  * Add 01-vim-expression-to-python-type.patch.

 -- Onur Aslan <email address hidden> Fri, 01 Apr 2016 20:47:03 +0300

Changed in vim-youcompleteme (Ubuntu):
status: In Progress → Fix Released
Changed in ycmd (Debian):
status: New → Fix Released
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.