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

bug: asdf list all python blank output #2016

Open
dideler opened this issue Mar 12, 2025 · 3 comments
Open

bug: asdf list all python blank output #2016

dideler opened this issue Mar 12, 2025 · 3 comments
Labels

Comments

@dideler
Copy link

dideler commented Mar 12, 2025

Describe the Bug

Cannot list Python versions for installation via its plugin. This is specific to the python plugin as the asdf list all command still works as expected with other plugins.

Steps to Reproduce

  1. Have asdf binary installed from GitHub Releases
  2. Have python plugin installed
  3. Have python version 3.13.2 installed
  4. Run asdf list all python

Expected Behaviour

Shows a list of all available Python versions for installation

Actual Behaviour

Shows a blank output:

↪ asdf list all python                                                                                                                                                                              

Environment

OS:
Darwin Denniss-Olde-MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 x86_64

SHELL:
fish, version 3.6.1

BASH VERSION:
5.2.15(1)-release

ASDF VERSION:
v0.16.5

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/dideler/.asdf
ASDF_CONFIG_FILE=/Users/dideler/.asdfrc

ASDF INSTALLED PLUGINS:
elixir    https://github.com/asdf-vm/asdf-elixir.git        ea842831ae39417f2dfe7b96fb0c3cc573314aa6
erlang    https://github.com/asdf-vm/asdf-erlang.git        7609d31063d7c43186708ecb3290673983ab530f
golang    https://github.com/asdf-community/asdf-golang.git e2527a31714da7bc671a684308579f4ef8863281
nodejs    https://github.com/asdf-vm/asdf-nodejs.git        5515b8705fbf4d610ede04bb9a3fc4812e3a4168
python    https://github.com/danhper/asdf-python.git        a3a01856098d6d2b9642e382f5b38e70275726d1
ruby      https://github.com/asdf-vm/asdf-ruby.git          3a1f574c51292cc84f4d8893d101078cba89f640

asdf plugins affected (if relevant)

python

@dideler dideler added the bug label Mar 12, 2025
@junaid1460
Copy link

To add: asdf plugin add does not say anything about what happened.

➜   git:(master) ✗ asdf plugin add golang
➜   git:(master) ✗ asdf plugin add elixir
➜   git:(master) ✗ asdf install   

if plugin not installed then not error message

➜  git:(master) ✗ asdf install         
➜  git:(master) ✗ which asdf

@rajaravivarma-r
Copy link

To add, it assumes that the python installation is successful even if it failed. I'm using asdf version v0.16.5.

I got this message, even when the installation failed because of the lack of a C compiler.

asdf install python 3.12.4
version 3.12.4 of python is already installed

@a24k
Copy link

a24k commented Mar 18, 2025

I was encountering the same situation.

In my environment, ~/.asdf/plugins/python/pyenv was empty.
Once I deleted the pyenv directory (which is also in .gitignore),
the pyenv directory was rebuilt on subsequent command executions, which seemed to fix it.

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

No branches or pull requests

4 participants