Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709370 - dev-python/pynvim should not RDEPEND on app-editors/neovim
Summary: dev-python/pynvim should not RDEPEND on app-editors/neovim
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-12 11:38 UTC by Alex Efros
Modified: 2020-07-02 19:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)