asdf-community / asdf-community/asdf-python
Module search path incorrectly includes system python installation
- Langage dominant
- Shell
- Étoiles
- 729
- Forks
- 65
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```
$ asdf install python 3.8.14
python-build 3.8.14 /home/sirianni/.asdf/installs/python/3.8.14
Downloading Python-3.8.14.tar.xz...
-> https://www.python.org/ftp/python/3.8.14/Python-3.8.14.tar.xz
Installing Python-3.8.14...
Installed Python-3.8.14 to /home/sirianni/.asdf/installs/python/3.8.14
```
```
$ /home/sirianni/.asdf/installs/python/3.8.14/bin/python -c 'import sys; print("\n".join(sys.path));'
/home/sirianni/.asdf/installs/python/3.8.14/lib/python38.zip
/home/sirianni/.asdf/installs/python/3.8.14/lib/python3.8
/home/sirianni/.asdf/installs/python/3.8.14/lib/python3.8/lib-dynload
/home/sirianni/.local/lib/python3.8/site-packages
/home/sirianni/.asdf/installs/python/3.8.14/lib/python3.8/site-packages
```
Note that `sys.path` incorrectly includes `/home/sirianni/.local/lib/python3.8/site-packages` which is from the system python installation.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduce the reported behavior with the shown asdf install command and Python sys.path check. Trace how the asdf-python plugin configures the installed interpreter and verify the completed change no longer includes /home/sirianni/.local/lib/python3.8/site-packages in sys.path.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, shell
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100