Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements.txt file is not parsed correctly per documentation #182

Open
calizarr opened this issue Aug 5, 2024 · 0 comments
Open

Requirements.txt file is not parsed correctly per documentation #182

calizarr opened this issue Aug 5, 2024 · 0 comments

Comments

@calizarr
Copy link

calizarr commented Aug 5, 2024

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant