asdf-community / asdf-community/asdf-python

Install pypy via asdf does not install python3 shim, which breaks tools like poetry

Aperta
#90 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
729
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### 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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci i comandi segnalati `asdf install python pypy3.7-7.3.3`, `asdf local python pypy3.7-7.3.3` e `python3`, quindi esamina come il plugin asdf-python crea gli shim dei comandi per PyPy. Il lavoro è completato quando un'installazione di PyPy fornisce un comando `python3` funzionante, in modo che strumenti come Poetry possano invocarlo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, shell
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.