asdf-community / asdf-community/asdf-python

Python anaconda install conflicting with git/gettext

Offen
#44 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
729
Forks
65
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
anaconda, git, python, shell
Bereich
cli, tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.