Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834039 - app-editors/neovim: Require >=dev-libs/tree-sitter-0.20.1
Summary: app-editors/neovim: Require >=dev-libs/tree-sitter-0.20.1
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: 2022-02-25 17:29 UTC by Stefan Huber
Modified: 2022-02-26 03:44 UTC (History)
1 user (show)

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 Stefan Huber 2022-02-25 17:29:45 UTC
The official 0.6.1 neovim release shipped by neovim builds against tree-sitter 0.20.1. 
Tree-sitter 0.20.1 or newer provides tree-sitter ABI version 14, whereas tree-sitter 0.20.0 provides only ABI version 13.

The nvim-treesitter plugin displays bugs with tree-sitter 0.20.0, see for instance https://github.com/nvim-treesitter/nvim-treesitter/issues/2579.

I suggest that Gentoo requires >=dev-libs/tree-sitter-0.20.1 for neovim. I would suggest so for neovim 0.6.1, possibly also for 0.6.0 and I am not sure about 0.5.1.

Reproducible: Always
Comment 1 Stefan Huber 2022-02-25 17:45:32 UTC
There is a related discussion here:
https://github.com/nvim-treesitter/nvim-treesitter/issues/2581
Comment 2 Stefan Huber 2022-02-25 18:49:12 UTC
As another hint, third-party/CMakeLists.txt mentions tree-sitter 0.20.1. This is for the bundled dependencies at least and would be a reasonable indicator, I think.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-26 03:02:32 UTC
(In reply to Stefan Huber from comment #2)
> As another hint, third-party/CMakeLists.txt mentions tree-sitter 0.20.1.
> This is for the bundled dependencies at least and would be a reasonable
> indicator, I think.

Yep, and apologies for missing it.
Comment 4 Larry the Git Cow gentoo-dev 2022-02-26 03:44:00 UTC
The bug has been closed via the following commit(s):

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

commit 1979dbb2dea9e3f5c035443a0af0ba5091e638dd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-26 03:09:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-26 03:43:22 +0000

    app-editors/neovim: update tree-sitter lower bound, other dep bounds
    
    Closes: https://bugs.gentoo.org/834039
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{neovim-0.6.1.ebuild => neovim-0.6.1-r1.ebuild}    | 16 +++++++++-------
 app-editors/neovim/neovim-9999.ebuild                  | 18 ++++++++++--------
 2 files changed, 19 insertions(+), 15 deletions(-)