asdf-community / asdf-community/asdf-python

Cannot install python 3.12

Offen
#185 1 Kommentar 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

### Provide environment information

```bash
OS:
Linux Lancelot 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 GNU/Linux

SHELL:
zsh 5.9 (x86_64-debian-linux-gnu)

BASH VERSION:
5.2.26(1)-release

ASDF VERSION:
v0.14.0-ccdd47d

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/rai/.asdf
ASDF_DIR=/home/rai/.asdf
ASDF_CONFIG_FILE=/home/rai/.asdfrc

ASDF INSTALLED PLUGINS:
nodejs https://github.com/asdf-vm/asdf-nodejs.git master c5b7c40
python https://github.com/danhper/asdf-python.git master 5e277e2
```

### To Reproduce

try to install python 3.12.x

### Describe the Bug

Cannot install python 3.12.3, but installing 3.9.18 works

The output of the install command:

```
asdf install python 3.12.3
python-build 3.12.3 /home/rai/.asdf/installs/python/3.12.3
Downloading Python-3.12.3.tar.xz...
-> https://www.python.org/ftp/python/3.12.3/Python-3.12.3.tar.xz
Installing Python-3.12.3...

BUILD FAILED (Debian 12 using python-build 2.4.0-2-ge1f07da7)

Inspect or clean up the working tree at /tmp/python-build.20240419160626.65667
Results logged to /tmp/python-build.20240419160626.65667.log

Last 10 log lines:
/usr/bin/install -c -m 755 Modules/_lzma.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/zlib.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/zlib.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/readline.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/readline.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/_md5.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_md5.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/_sha1.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_sha1.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/_sha2.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_sha2.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/_sha3.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_sha3.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 755 Modules/_blake2.cpython-312-x86_64-linux-gnu.so /home/rai/.asdf/installs/python/3.12.3/lib/python3.12/lib-dynload/_blake2.cpython-312-x86_64-linux-gnu.so
/usr/bin/install: cannot stat 'Modules/_blake2.cpython-312-x86_64-linux-gnu.so': No such file or directory
make: *** [Makefile:2083: sharedinstall] Error 1
```

### Expected Behaviour

I expect to be able to install python 3.12

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduzieren Sie `asdf install python 3.12.3` in der im Bericht genannten Debian-12-/WSL2-Umgebung, untersuchen Sie anschließend die protokollierte Build-Ausgabe und das im Bericht erwähnte Ziel `Makefile:2083` `sharedinstall`. Bestimmen Sie, warum `_blake2.cpython-312-x86_64-linux-gnu.so` fehlt, und überprüfen Sie, dass Python 3.12.3 erfolgreich installiert wird, ohne den funktionierenden Fall mit Python 3.9.18 zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, shell
Bereich
devtools
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
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.