Open ignamartinoli opened 1 week ago
Let me explain this awkward situation:
The version of erlang-ls in the Mason Registry is 0.52.0, as you can verify from its package.yaml.
The issue you mentioned regarding installation failure is a known issue with version 0.52.0, and it was resolved in later versions quite some time ago.
What’s the latest version of erlang-ls now? It’s 1.1.0. Yes, it sounds crazy, but that’s the current state of things.
I suspect the root cause lies in erlang-ls aggressively bumping its version while the Mason Registry’s use of the renovate bot for automated scanning and merging may have mismatched configurations.
I’m not very familiar with renovate bot, but after a quick look at its configuration, it seems that the merge strategy for erlang-ls might be strictly tied to semantic versioning. This could result in major version changes being classified as non-auto-mergeable.
In practice, manually bumping the version to 1.1.0 solves everything. I’ve tested it on macOS with ARM chips and on standard Linux environments without encountering any issues.
For now, the best approach for you personally is to manually run:
:MasonInstall erlang-ls@1.1.0
to upgrade your local version.
As for the Mason project maintainers @williamboman, they might either need to revise the renovate bot configuration (which looks quite tricky) or manually update the version in the registry. The PR is already there.
If renovate bot is afraid of beyond-1.0.0
jumps, let it at least bump to 0.54.0
, as this is enough to fix the issue.
Q: @aemaeth-me Is your workaround permanent, or Mason will attempt a downgrade later?
Answering myself...
erlang-ls ■ new version available: 1.1.0 -> 0.52.0
Sigh...
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
During the Erlang LS installation via Mason, at step 825 I receive the following error:
No other LS presents this issue
Expected behavior
erlang-ls
installation successfully completedAffected packages
erlang-ls
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1731601260
Operating system/version
Linux sicro 6.12.0-gentoo #1 SMP Mon Nov 18 15:40:57 -03 2024 x86_64 AMD Ryzen 7 PRO 4750U with Radeon Graphics AuthenticAMD GNU/Linux
Healthcheck
Screenshots
No response