asdf-community / asdf-community/asdf-python

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

オープン
#90 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
729
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

報告された `asdf install python pypy3.7-7.3.3`、`asdf local python pypy3.7-7.3.3`、`python3` コマンドを再現し、その後、asdf-python プラグインが PyPy 用のコマンド shim をどのように作成するかを調査します。PyPy のインストールによって動作する `python3` コマンドが提供され、Poetry などのツールから呼び出せるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, shell
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。