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

Bug 826362

Summary: =dev-python/pynvim-0.4.3: Missing dependencies in RDEPEND
Product: Gentoo Linux Reporter: Adrian Schollmeyer <nex+b-g-o>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal CC: python, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of emerge --info
Output of nvim's :checkhealth before installing dev-python/msgpack manually
Output of nvim's :checkhealth after installing dev-python/msgpack manually, but before installing virtual/python-greenlet manually

Description Adrian Schollmeyer 2021-11-22 10:59:34 UTC
Created attachment 755042 [details]
Output of emerge --info

I've installed dev-python/pynvim on my system via binhost. Thus, the packages dev-python/msgpack and virtual/python-greenlet (which are in DEPEND) didn't get pulled in.

Starting neovim now prints an error with starting the python host and :checkhealth reports that the neovim Python module couldn't get loaded due to the missing module msgpack.

Installing dev-python/msgpack fixed this error. However, Python support still didn't work. Running :checkhealth now prints that the greenlet module is missing. Installing virtual/python-greenlet fixed that issue as well.

Thus, I had to install dev-python/msgpack and virtual/python-greenlet manually to make Python support work. I think those two packages need to be put in RDEPEND.
They were in RDEPEND before, but got removed in commit ce5bcfe6f045ca252d1aa903b5795f5ea21ba782. Maybe this was done by mistake.

Package versions:

dev-python/pynvim-0.4.3
app-editors/neovim-0.5.1 (but the same problem occurs with 0.4.4-r101)
dev-python/msgpack-1.0.2 (when installed manually)
virtual/python-greenlet-1.0-r2 (when installed manually)
dev-python/greenlet-1.1.2 (dependency when installing virtual/python-greenlet)
Comment 1 Adrian Schollmeyer 2021-11-22 11:00:20 UTC
Created attachment 755046 [details]
Output of nvim's :checkhealth before installing dev-python/msgpack manually
Comment 2 Adrian Schollmeyer 2021-11-22 11:00:45 UTC
Created attachment 755050 [details]
Output of nvim's :checkhealth after installing dev-python/msgpack manually, but before installing virtual/python-greenlet manually
Comment 3 Larry the Git Cow gentoo-dev 2021-11-22 11:13:04 UTC
The bug has been closed via the following commit(s):

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

commit 066d01ba139733f4449e791aeb629f398275d25f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-22 11:12:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-22 11:12:50 +0000

    dev-python/pynvim: fix RDEPEND
    
    Closes: https://bugs.gentoo.org/826362
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pynvim/{pynvim-0.4.3.ebuild => pynvim-0.4.3-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-22 12:04:26 UTC
Thanks for the detailed report!