aboutcode-org / aboutcode-org/python-inspector

Requirements.txt file is not parsed correctly per documentation

オープン
#182 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。