aboutcode-org / aboutcode-org/python-inspector
Requirements.txt file is not parsed correctly per documentation
- 主要语言
- Python
- 星标
- 23
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
描述
A `requirements.txt` file with the global options at the top of the file like so:
```
--index-url https://aws:${CODEARTIFACT_AUTH_TOKEN}@${DOMAIN}-${ACCOUNT_ID}.d.codeartifact.us-east-1.amazonaws.com/pypi/private-releases/simple/
--extra-index-url https://aws:${CODEARTIFACT_AUTH_TOKEN}@${DOMAIN}-${ACCOUNT_ID}.d.codeartifact.us-east-1.amazonaws.com/pypi/public-pypi/simple/
```
[This issue](https://github.com/pypa/pip/issues/11511) mentions that the `--index-url` seems like it must be first.
It seems like the parsing doesn't support it for now, although, it may be part of a third party library.
[Relevant pip requirements.txt documentation](https://pip.pypa.io/en/stable/reference/requirements-file-format/#supported-options)
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。