asdf-community / asdf-community/asdf-python
I guess ansible-base is being set as default when installing ansible with pip
- Ngôn ngữ chính
- Shell
- Star
- 729
- Fork
- 65
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Tái hiện báo cáo bằng `pip3 install ansible -U`, sau đó chạy asdf reshim và kiểm tra tệp thực thi `./ansible` cùng phiên bản mà nó báo cáo. Theo dõi tệp thực thi mà reshim chọn; hoàn tất khi việc cài đặt ansible 2.10.6 không khiến `./ansible --version` báo cáo ansible-base 2.10.5.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ansible, python
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100