[Bug 1574897] [NEW] Upgrading to 16.04 disables Python3?

Michael Heuberger michael.heuberger at binarykitchen.com
Mon Apr 25 23:39:32 UTC 2016


Public bug reported:

Since I ran a do-release-upgrade last week from 15.10 to 16.04, starting
Vim now produces this warning I haven't seen before:

~/D/abc ❯❯❯ vim                                                                                develop ✭
You need vim compiled with Python 2.6, 2.7 or 3.2 and later support
for Powerline to work. Please consult the documentation for more
details.
Press ENTER or type command to continue

Then had a look at the included features of Vim:

/e/alternatives ❯❯❯ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
Included patches: 1-1689
Modified by pkg-vim-maintainers at lists.alioth.debian.org
Compiled by pkg-vim-maintainers at lists.alioth.debian.org
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
-balloon_eval    +float           +mouse_urxvt     -tcl
-browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         +gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
-clientserver    +iconv           +packages        -toolbar
-clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             -perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            -ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        +mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax          
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl

I see, there is -python and -python3

But all news and documentation say the Vim in Xenial 16.04 comes with
Python3 enabled. I am confused? A bug?

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1574897

Title:
  Upgrading to 16.04 disables Python3?

Status in vim package in Ubuntu:
  New

Bug description:
  Since I ran a do-release-upgrade last week from 15.10 to 16.04,
  starting Vim now produces this warning I haven't seen before:

  ~/D/abc ❯❯❯ vim                                                                                develop ✭
  You need vim compiled with Python 2.6, 2.7 or 3.2 and later support
  for Powerline to work. Please consult the documentation for more
  details.
  Press ENTER or type command to continue

  Then had a look at the included features of Vim:

  /e/alternatives ❯❯❯ vim --version
  VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
  Included patches: 1-1689
  Modified by pkg-vim-maintainers at lists.alioth.debian.org
  Compiled by pkg-vim-maintainers at lists.alioth.debian.org
  Huge version without GUI.  Features included (+) or not (-):
  +acl             +farsi           +mouse_netterm   +tag_binary
  +arabic          +file_in_path    +mouse_sgr       +tag_old_static
  +autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
  -balloon_eval    +float           +mouse_urxvt     -tcl
  -browse          +folding         +mouse_xterm     +terminfo
  ++builtin_terms  -footer          +multi_byte      +termresponse
  +byte_offset     +fork()          +multi_lang      +textobjects
  +channel         +gettext         -mzscheme        +timers
  +cindent         -hangul_input    +netbeans_intg   +title
  -clientserver    +iconv           +packages        -toolbar
  -clipboard       +insert_expand   +path_extra      +user_commands
  +cmdline_compl   +job             -perl            +vertsplit
  +cmdline_hist    +jumplist        +persistent_undo +virtualedit
  +cmdline_info    +keymap          +postscript      +visual
  +comments        +langmap         +printer         +visualextra
  +conceal         +libcall         +profile         +viminfo
  +cryptv          +linebreak       -python          +vreplace
  +cscope          +lispindent      -python3         +wildignore
  +cursorbind      +listcmds        +quickfix        +wildmenu
  +cursorshape     +localmap        +reltime         +windows
  +dialog_con      -lua             +rightleft       +writebackup
  +diff            +menu            -ruby            -X11
  +digraphs        +mksession       +scrollbind      -xfontset
  -dnd             +modify_fname    +signs           -xim
  -ebcdic          +mouse           +smartindent     -xsmp
  +emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
  +eval            +mouse_dec       +statusline      -xterm_save
  +ex_extra        +mouse_gpm       -sun_workshop    -xpm
  +extra_search    -mouse_jsbterm   +syntax          
     system vimrc file: "$VIM/vimrc"
       user vimrc file: "$HOME/.vimrc"
   2nd user vimrc file: "~/.vim/vimrc"
        user exrc file: "$HOME/.exrc"
    fall-back for $VIM: "/usr/share/vim"
  Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
  Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl

  I see, there is -python and -python3

  But all news and documentation say the Vim in Xenial 16.04 comes with
  Python3 enabled. I am confused? A bug?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1574897/+subscriptions



More information about the foundations-bugs mailing list