aboutcode-org / aboutcode-org/python-inspector

Requirements.txt file is not parsed correctly per documentation

Đang mở
#182 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
23
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.