asdf-community / asdf-community/asdf-python

Python anaconda install conflicting with git/gettext

Abierto
#44 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Shell
Estrellas
729
Forks
65
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
anaconda, git, python, shell
Área
cli, tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.