aboutcode-org / aboutcode-org/python-inspector

Dotted Python version not fully supported

Aperta
#167 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
23
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Although as of version [0.9.3](https://github.com/nexB/python-inspector/blob/main/CHANGELOG.rst#v093) "dotted" Python versions, like "2.7", should be supported in addition to "27", it seems that at least for analyzing `setup.py` it's not supported.

Running

python-inspector --setup-py setup.py --python-version 2.7 --operating-system linux --json-pdt -

on any `setup.py` file gives

Exception: Python version 2..7 is not compatible with setup.py

(Note the double-dot ".." in there), whereas using `--python-version 27` succeeds.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.