asdf-community / asdf-community/asdf-python

bug: asdf cannot resolve config paths with whitespace in them

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

Beschreibung

From original issue with more context: [asdf-ruby/issues/270](https://github.com/asdf-vm/asdf-ruby/issues/270)

If `$ASDF_DATA_DIR` is set to a path with whitespace in it, the asdf-python plugin cannot do the business:

```console
$ echo $ASDF_DATA_DIR
/Users/ryan/Library/Application Support/asdf
$ asdf install python 3.10.2
Downloading python-build...
fatal: could not create leading directories of '/Users/ryan
Support//asdf/plugins/python/pyenv': Permission denied
$
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, das Problem mit ASDF_DATA_DIR auf einem Pfad mit Leerzeichen nachzustellen, führe anschließend `asdf install python 3.10.2` aus und verfolge, wie das asdf-python-Plugin den python-build-Pfad erstellt. Abgeschlossen ist die Aufgabe, wenn der Installationsbefehl erfolgreich ausgeführt wird und den vollständig konfigurierten Pfad verwendet, ohne ihn an Leerzeichen aufzuteilen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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