asdf-community / asdf-community/asdf-python

Python anaconda install conflicting with git/gettext

Aperta
#44 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
729
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
anaconda, git, python, shell
Ambito
cli, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.