Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 709370

Summary: dev-python/pynvim should not RDEPEND on app-editors/neovim
Product: Gentoo Linux Reporter: Alex Efros <powerman-asdf>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Efros 2020-02-12 11:38:54 UTC
Thing is, there are important and popular Vim plugins (e.g. https://github.com/Shougo/deoplete.nvim) which depends on pynvim (https://github.com/Shougo/deoplete.nvim#requirements).

Installing app-editors/neovim just to get dev-python/pynvim sounds like overkill.

Using `pip3 install --user pynvim` doesn't works well because of some issue with greenlet package - this can be worked around by installing dev-python/greenlet before running pip3, but even it this case it's better to have pynvim installed by portage than use pip3.

It looks like only thing pynvim needs from app-editors/neovim is it embedded python package - which can be for sure installed independently from neovim itself.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-07-02 19:31:26 UTC
This just bit me as well trying to use fisa-vim-config (https://vim.fisadev.com/)

Please remove the neovim dependency in dev-python/pynvim. The one that that DOES break is the tests
Comment 2 Larry the Git Cow gentoo-dev 2020-07-02 19:32:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5bcfe6f045ca252d1aa903b5795f5ea21ba782

commit ce5bcfe6f045ca252d1aa903b5795f5ea21ba782
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2020-07-02 19:29:54 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2020-07-02 19:31:59 +0000

    dev-python/pynvim: relax neovim dep
    
    pynvim can be used by regular vim plugins without neovim installed.
    However it does need neovim to run the tests, so ensure it's still
    present in DEPEND for that case.
    
    Closes: https://bugs.gentoo.org/709370
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 dev-python/pynvim/pynvim-0.4.1.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)