asdf-community / asdf-community/asdf-python
"install python latest" tries to install free-threading version 3.13.0t
- Langage dominant
- Shell
- Étoiles
- 729
- Forks
- 65
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Provide environment information
OS:
Darwin top 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64
SHELL:
zsh 5.9 (x86_64-apple-darwin23.0)
BASH VERSION:
5.2.37(1)-release
ASDF VERSION:
v0.14.1
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/mjreed/.asdf
ASDF_DIR=/opt/homebrew/opt/asdf/libexec
ASDF_CONFIG_FILE=/Users/mjreed/.asdfrc
ASDF INSTALLED PLUGINS:
awscli git@github.com:/MetricMike/asdf-awscli.git main c26bbb4
nodejs git@github.com:/asdf-vm/asdf-nodejs.git master c36e6f0
opentofu git@github.com:/virtualroot/asdf-opentofu.git main f346577
python git@github.com:/danhper/asdf-python.git master a3a0185
raku git@github.com:/m-dango/asdf-raku.git main dd8c1ef
ruby git@github.com:/asdf-vm/asdf-ruby.git master 645ca9e
terraform git@github.com:/asdf-community/asdf-hashicorp.git master 22eb1c4
### To Reproduce
Run:
asdf install python latest
### Describe the Bug
The version selector sees 3.13.0t as a newer release than bare 3.13.0 and installs it when `latest` is selected (though in my case the default-module installation fails due to dependencies on the crypto limited API, which is unsupported by the freethreading release).
### Expected Behaviour
The -t releasees should be ignored unless the user has set [PYTHON_BUILD_FREE_THREADING=1](https://github.com/edgarrmondragon/pyenv/blob/99fb8bd53b889b648c63e6f8151e73ac6878b116/plugins/python-build/share/python-build/3.14t-dev#L1), or some `ASDF_`-prefixed equivalent var.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez le problème avec `asdf install python latest` dans l’environnement indiqué, puis suivez le chemin de sélection de version dans le plugin asdf-python. Comparez la gestion de 3.13.0 et de 3.13.0t, et vérifiez le comportement documenté de `PYTHON_BUILD_FREE_THREADING=1`. Le travail est considéré comme terminé lorsque `latest` ignore par défaut les versions -t, tout en continuant à les autoriser lorsqu’elles sont explicitement activées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, shell
- Domaine
- cli, tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100