asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
643 stars 55 forks source link

Unable to install miniconda3 #174

Open arvindcj opened 9 months ago

arvindcj commented 9 months ago

Provide environment information

asdf info
OS:
Linux rasp 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

SHELL:
GNU bash, version 5.1.4(1)-release (aarch64-unknown-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

BASH VERSION:
5.1.4(1)-release

ASDF VERSION:
v0.13.1-0586b37

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/pi/.asdf
ASDF_DIR=/home/pi/.asdf
ASDF_CONFIG_FILE=/home/pi/.asdfrc

ASDF INSTALLED PLUGINS:
python                       https://github.com/danhper/asdf-python.git master 5e277e2
ruby                         https://github.com/asdf-vm/asdf-ruby.git master 4e5b177

To Reproduce

asdf plugin add python asdf install python miniconda3-4.7.12

python-build miniconda3-4.7.12 /home/pi/.asdf/installs/python/miniconda3-4.7.12

ERROR: The binary distribution of Miniconda is not available for Linux-aarch64.

Describe the Bug

Unable to install miniconda3-4.7.12

python-build miniconda3-4.7.12 /home/pi/.asdf/installs/python/miniconda3-4.7.12

ERROR: The binary distribution of Miniconda is not available for Linux-aarch64.

Expected Behaviour

Unable to install miniconda3-4.7.12. Although, the binary package exists. Link: https://docs.conda.io/projects/miniconda/en/latest/

andreaslillebo commented 5 months ago

The version numbers are kind of confusing, so you probably wanted to install something like:

asdf install python miniconda3-3.11-23.11.0-2

Which would actually install Miniconda3-py311_23.11.0-2 (the current latest version)

miniconda3-4.7.12 is a version from 2019, before the release of the M1, which explains why it doesn't find a matching binary.