Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check health reports wrong python version #1635

Open
2 tasks done
MontyTHall opened this issue Feb 25, 2024 · 0 comments
Open
2 tasks done

Check health reports wrong python version #1635

MontyTHall opened this issue Feb 25, 2024 · 0 comments

Comments

@MontyTHall
Copy link

MontyTHall commented Feb 25, 2024

I've searched open issues for similar requests

  • Yes

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

  • Yes

Problem description

Check health doesn't reflect python3_host_prog. I resolved the fundamental problem of being unable to install debugpy DAP. So this issue is purely cosmetic.

Expected behavior

  • OK python: Python 3.12.1
  • OK pip: pip 24.0 from /home/xzcjml/.local/lib/python3.12/site-packages/pip (python 3.12)
  • OK python venv: Ok

Steps to reproduce

  1. python3_host_prog is "/usr/bin/python3.12" - echo from nvim command verifies this is the case.
  2. Couldn't install "debugpy" DAP because of VENV issues.
  3. check health says python version 3.8
  4. Fixed by "apt install python3.12-venv"
  5. I can now install "debugpy".
  6. check health still says python version 3.8

Neovim version (>= 0.7)

NVIM v0.10.0-dev-508+gd3b9feccb
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_TS_HAS_SET_MAX_START_DEPTH -I/home/xzcjml/src/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/home/xzcjml/src/neovim/.deps/usr/include -I/home/xzcjml/src/neovim/build/src/nvim/auto -I/home/xzcjml/src/neovim/build/include -I/home/xzcjml/src/neovim/build/cmake.config -I/home/xzcjml/src/neovim/src

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

Operating system/version

Ubuntu 20

Linux USMCDUNDOS35422G 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Healthcheck output

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-02-25-alert-bass` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.20.3 built on linux-gnu.`
- OK curl: `curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.30`
- OK bash: `GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING cargo: not available
  - ADVICE:
    - spawn: cargo failed with exit code - and signal -. cargo 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
- WARNING Go: unsupported version `go version go1.13.8 linux/amd64`
  - ADVICE:
    - Go version must be >= 1.17.
- WARNING javac: not availableM
  - ADVICE:
    - spawn: javac failed with exit code - and signal -. javac is not executable
- OK node: `v18.19.0`
- OK Ruby: `ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]`
- OK python: `Python 3.8.10`
- OK julia: `julia version 1.9.1`
- OK java: `openjdk version "1.8.0_392"`
- OK RubyGem: `3.1.2`
- OK npm: `10.2.3`
- OK pip: `pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Sun 25 Feb 2024 12:26:33 PM EST.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

:echo g:python3_host_prog

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant