aboutcode-org / aboutcode-org/python-inspector

Dotted Python version not fully supported

未关闭
#167 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
23
派生
28
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。