asdf-community / asdf-community/asdf-python
older pythons and the new libffi in arch linux
- Lingua principale
- Shell
- Stelle
- 729
- Fork
- 65
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I'm not certain if this is something that can be fixed ad part of this project, but the recent versions of libffi in arch linux are not compatible with older versions of python from asdf-python.
For example, version 3.6.14 will segfault if you import `ctypes`, version 3.7.12 will give you an import error:
```
ModuleNotFoundError: No module named '_ctypes'
```
python versions 3.8.12 and 3.9.8 both seem to work. I haven't extensively tested all of the version, but I have tested a few different 3.6.x and 3.7.x versions which all exhibit similar behavior.
Notably, setuptools uses ctypes so this causes strange issues when using a dependency manager like pipenv/poetry to install depdencies.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Non è specificato alcun file o test. Inizia riproducendo il fallimento dell'importazione di ctypes per Python 3.6.x e l'assenza del modulo _ctypes per 3.7.x su Arch Linux con il percorso di installazione di asdf-python, quindi confronta queste build con le versioni funzionanti 3.8.12 e 3.9.8. Il lavoro è terminato quando si determina se il plugin può risolvere l'incompatibilità di libffi oppure si documentano chiaramente le versioni interessate e il workaround.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- arch-linux, python, shell
- Ambito
- build-system, operating-systems, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100