williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
8.01k stars 282 forks source link

Cannot upgrade to tinymist v0.11.28-4 using Mason #1804

Closed kamransoomro84 closed 1 month ago

kamransoomro84 commented 1 month ago

I've searched open issues for similar requests

I've manually reviewed logs to find potential errors

I've recently downloaded the latest plugin version of mason.nvim

Problem description

When upgrading tinymist, Mason tries to download the package from the following URL:

Downloading file "https://github.com/myriad-dreamin/tinymist/releases/download/v0.11.28/tinymist-darwin-arm64"

The correct url should be:

https://github.com/myriad-dreamin/tinymist/releases/download/v0.11.28-4/tinymist-darwin-arm64

Not sure if this is a tinymist or Mason issue so filing it here.

Expected behavior

Described above.

Steps to reproduce

Upgrade to latest version of tinymist from previous version using Mason in Neovim.

Affected packages

tinymist

Neovim version (>= 0.7)

NVIM v0.10.1 Build type: Release LuaJIT 2.1.1725453128

Operating system/version

Darwin S-FET-T4Y5V4HQ6R 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:52 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T6020 arm64

Healthcheck

mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-10-06-inborn-socks` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5 built on darwin23.2.0.`
- OK curl: `curl 8.7.1 (x86_64-apple-darwin23.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.61.0`
- OK gzip: `Apple gzip 430.140.2`
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- OK bash: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING luarocks: not available
  - ADVICE:
    - spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]`
- OK cargo: `cargo 1.81.0`
- OK java: `java version "21.0.1" 2023-10-17 LTS`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK javac: `javac 21.0.1`
- OK python: `Python 3.12.6`
- OK node: `v22.9.0`
- OK npm: `10.8.3`
- OK pip: `pip 24.2 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`
- OK RubyGem: `3.0.3.1`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 2. Remaining: 58. Limit: 60. Reset: Sun  6 Oct 16:58:23 2024.
  Install and authenticate via gh-cli to increase rate limit.


### Screenshots or recordings

_No response_
kamransoomro84 commented 1 month ago

Fixed by tinymist developer.