aboutcode-org / aboutcode-org/python-inspector

Dotted Python version not fully supported

Offen
#167 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
23
Forks
28
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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