Possible missing symlink to `lib64` in user path schema on Linux Fedora 43, Python 3.14.2
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Bug report
Bug description:
I'm not sure if this is distribution specific problem or something is broken in the core, so I'm filing it here first. I'm also not sure if it's CPython per se or needs to go into PyPA (pip etc).
Python 3.14.2 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] on linux
>>> pprint.pprint(sysconfig.get_paths("posix_user"))
{'data': '/home/arcivanov/.local',
'include': '/home/arcivanov/.local/include/python3.14',
'platlib': '/home/arcivanov/.local/lib/python3.14/site-packages',
'platstdlib': '/home/arcivanov/.local/lib64/python3.14',
'purelib': '/home/arcivanov/.local/lib/python3.14/site-packages',
'scripts': '/home/arcivanov/.local/bin',
'stdlib': '/home/arcivanov/.local/lib64/python3.14'}
>>> pprint.pprint(sysconfig.get_paths("venv"))
{'data': '/usr',
'include': '/usr/include/python3.14',
'platinclude': '/usr/include/python3.14',
'platlib': '/usr/lib64/python3.14/site-packages',
'platstdlib': '/usr/lib64/python3.14',
'purelib': '/usr/lib/python3.14/site-packages',
'scripts': '/usr/bin',
'stdlib': '/usr/lib64/python3.14'}
>>>
Firstly, in the posix_user the platlib goes into lib, whereas in venv everything that isn't pure is going into lib64.
Secondly, in the venv, this doesn't really matter due to there being a symlink from lib64 to lib. However, in the posix_user the lib64 is simply missing from /home/arcivanov/.local/ while being referenced in posix_user schema as something that should exist.
Venv:
drwxr-xr-x 1 arcivanov arcivanov 374 Dec 9 09:34 bin
-rw-r--r-- 1 arcivanov arcivanov 69 Dec 9 09:34 .gitignore
drwxr-xr-x 1 arcivanov arcivanov 0 Dec 9 09:34 include
drwxr-xr-x 1 arcivanov arcivanov 22 Dec 9 09:34 lib
lrwxrwxrwx 1 arcivanov arcivanov 3 Dec 9 09:34 lib64 -> lib
-rw-r--r-- 1 arcivanov arcivanov 305 Dec 9 09:34 pyvenv.cfg
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die gemeldeten Ergebnisse von sysconfig.get_paths("posix_user") und sysconfig.get_paths("venv") unter Linux Fedora 43 mit Python 3.14.2 zu reproduzieren, und vergleiche anschließend die Pfadschemata von user und venv sowie deren Verhalten bei lib/lib64. Als abgeschlossen gilt die Aufgabe, wenn geklärt ist, ob posix_user lib64 erstellen oder darauf verweisen sollte, und das Verhalten dokumentiert oder durch Regressionstests korrigiert wurde, falls das Repository ein erwartetes Ergebnis erkennen lässt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100