asdf-community / asdf-community/asdf-python

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

Offen
#90 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
729
Forks
65
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduziere die gemeldeten Befehle `asdf install python pypy3.7-7.3.3`, `asdf local python pypy3.7-7.3.3` und `python3` und untersuche anschließend, wie das asdf-python-Plugin Befehls-Shims für PyPy erstellt. Die Aufgabe ist erledigt, wenn eine PyPy-Installation einen funktionierenden `python3`-Befehl bereitstellt, sodass Tools wie Poetry ihn aufrufen können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, shell
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.