aboutcode-org / aboutcode-org/python-inspector

Dotted Python version not fully supported

Open
#167 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.