New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ycmd: 2019-09-19 -> 2020-02-22 #81034
Conversation
ce971cf
to
b952fd1
Compare
b952fd1
to
57d6a73
Compare
The diff looks good, but does last commit need to go with ycmd update? It looks like it touches quite some things beside ycmd |
Assuming that I know we need to update the set for plugin additions, though I’m not sure about plugin updates. This is assuming that the change for dropping python2 support for youcompleteme should be done in this PR, anyway. |
460dd60
to
cfdcd0a
Compare
drop support for python2 ycmd dropped support for python2 with ycm-core/ycmd#1382 youcompleteme dropped support for python2 with ycm-core/YouCompleteMe#3566
cfdcd0a
to
9ec772d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diff LGTM
commit LGTM
[41 built, 25 copied (193.7 MiB), 44.9 MiB DL]
https://github.com/NixOS/nixpkgs/pull/81034
36 package built:
vimPlugins.SpaceCamp vimPlugins.ale vimPlugins.awesome-vim-colorschemes vimPlugins.coc-git vimPlugins.coc-java vimPlugins.coc-metals vimPlugins.defx-nvim vimPlugins.denite-git vimPlugins.deoplete-fish vimPlugins.deoplete-khard vimPlugins.deoplete-nvim vimPlugins.echodoc-vim vimPlugins.falcon vimPlugins.jedi-vim vimPlugins.ncm2-ultisnips vimPlugins.neosnippet-snippets vimPlugins.nvim-lsp vimPlugins.seoul256-vim vimPlugins.ultisnips vimPlugins.unicode-vim vimPlugins.vim-airline vimPlugins.vim-codefmt vimPlugins.vim-dirvish vimPlugins.vim-fugitive vimPlugins.vim-gitgutter vimPlugins.vim-go vimPlugins.vim-localvimrc vimPlugins.vim-slime vimPlugins.vim-snippets vimPlugins.vim-terraform vimPlugins.vim-test vimPlugins.vim-visual-multi vimPlugins.vimtex vimPlugins.vista-vim vimPlugins.youcompleteme ycmd
@rasendubi, @evanjs is right, it's common practice to update all vimplugins before adding a new plugin |
Thanks for clarifying! I wasn’t certain if this also applies to updates! |
Motivation for this change
It seems YCMD was left behind (from YCM) with #80218.
This normally might not make a difference, but this time, they came out of sync with commits that dropped python2 support.
The commits mentioned are ycm-core/YouCompleteMe#3566 and ycm-core/ycmd#1382, both of which were merged within the last month.
This broke YouCompleteMe, throwing the message:
YouCompleteMe unavailable: No module named 'future'
Things done
This PR updates YCMD and disables python2 support for both YCM and YCMD.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)