asdf-community / asdf-community/asdf-python
I guess ansible-base is being set as default when installing ansible with pip
- 主要言語
- Shell
- スター
- 729
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I think maybe doing reshim is overwriting ansible executable with ansible-base executable:
```
❯ pip3 install ansible -U
Collecting ansible
Downloading ansible-2.10.6.tar.gz (29.6 MB)
|████████████████████████████████| 29.6 MB 393 kB/s
Collecting ansible-base<2.11,>=2.10.5
Downloading ansible-base-2.10.5.tar.gz (5.7 MB)
|████████████████████████████████| 5.7 MB 949 kB/s
```
As you can see is installing .6 for `ansible` and .5 for `ansible-base`.
After installing, reshim and current version:
```
❯ ./ansible --version
ansible 2.10.5
config file = None
configured module search path = ['/Users/vitorjr/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /Users/vitorjr/.asdf/installs/python/3.9.1/lib/python3.9/site-packages/ansible
executable location = ./ansible
python version = 3.9.1 (default, Jan 27 2021, 17:37:54) [Clang 12.0.0 (clang-1200.0.32.28)]
```
Not sure it it's a asdf python plugin problem related, just passing the information.
Thanks for the amazing work.
best regards,
Vitor Jr.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
`pip3 install ansible -U` で報告を再現し、その後 asdf reshim を実行して、`./ansible` 実行ファイルとそれが報告するバージョンを調べます。reshim がどの実行ファイルを選択するかを追跡します。ansible 2.10.6 をインストールしても `./ansible --version` が ansible-base 2.10.5 を報告しなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ansible, python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100