asdf-community / asdf-community/asdf-python
Install pypy via asdf does not install python3 shim, which breaks tools like poetry
- Langage dominant
- Shell
- Étoiles
- 730
- Forks
- 65
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
#### Problem
- Use asdf to install pypy: `asdf install python pypy3.7-7.3.3`
- Set python version: `asdf local python pypy3.7-7.3.3`
- Try to use `python3` command:
```
❯ python3
No preset version installed for command python3
Please install a version by running one of the following:
asdf install python pypy3.7-7.3.3
or add one of the following versions in your config file at /home/taran/tl/virtualenvs/00_qtile/.tool-versions
python 3.9.1
```
This is an issue for `poetry`, because it always attempts to use `python3`.
#### Solution
It would be helpful if installing pypy would also setup the `python3` shim as well as the usual `python` shim (and `pypy`/`pypy3` shim).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez les commandes signalées `asdf install python pypy3.7-7.3.3`, `asdf local python pypy3.7-7.3.3` et `python3`, puis examinez comment le plugin asdf-python crée les shims de commande pour PyPy. La tâche est terminée lorsqu’une installation de PyPy fournit une commande `python3` fonctionnelle afin que des outils tels que Poetry puissent l’invoquer.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, shell
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100