asdf-community / asdf-community/asdf-python

Python anaconda install conflicting with git/gettext

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

説明

Hey guys, installed Anaconda3 v5.3.0 like so

```sh
$ asdf install python anaconda3-5.3.0
```

and it seems that something is in conflict with gettext/git now.

## What is the experienced (undesired) behaviour?

```sh
$ git pull
GNU gettext shell script function library version 0.19.8.1
Usage: . gettext.sh
```

## What points me this way?

### With `python anaconda3-5.3.0`

```sh
$ which gettext
~/.asdf/shims/gettext
```

where

```
$ cat ~/.asdf/shims/gettext
#!/usr/bin/env bash
# asdf-plugin: python
# asdf-plugin-version: anaconda3-5.3.0
exec /usr/local/opt/asdf/libexec/private/asdf-exec python bin/gettext "$@"
```

and

```sh
$ ls -al ~/.asdf/shims | wc -l
415
```

### Without it

After uninstalling it

```sh
$ asdf uninstall python anaconda3-5.3.0
```

```sh
$ git pull
Current branch master is up to date.
```

🎉, and FWIW, there are _far_ fewer shims now.

```sh
$ ls -al ~/.asdf/shims | wc -l
31
```
___

Honestly, I don't even know if this is the right place to ask this question versus this being an `asdf` issue, or python, or anaconda, or something completely different?

I'm open to getting help on debugging this further, or being guided to a better place to ask this, or anything else. Thanks in advance! :v:

___

PS: Context folded below

I'm running macOS with git 2.19.1

```sh
$ sw_vers -productVersion
10.13.6

$ git --version
git version 2.19.1
```

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

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

調査の方向性

Start with the ~/.asdf/shims/gettext entry and the asdf install/uninstall commands shown in the report. Reproduce the behavior with Anaconda3 v5.3.0 installed, compare which gettext executable is selected, and inspect the effect on git pull. Done means the conflict is explained and git pull works normally without requiring the Anaconda installation to be removed.

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

評価

技術スタック
anaconda, git, python, shell
領域
cli, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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