-
Notifications
You must be signed in to change notification settings - Fork 41
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
Why is private code not supported? #39
Comments
I'm not opposed to some basic level of support. However, ideally the requirement parser should not require connecting to any other server to complete its parsing. |
Great! If we can work out a solution you'd be happy with I'd be happy to write a patch. The parser doesn't need to talk to anything. It just needs a way to return the URL to the caller. It's a bit awkward since the API only returns Requirements as an iterator, so there's no place to shove in Repositories. Thinking out loud here, maybe you could say you return a iterator of And yes, thank you for putting this together! This should really be part of pypa. |
Please note that the warning emitted by
The addition of warnings.filterwarnings(action='ignore', category=UserWarning, module='requirements')
for req in requirements.parse(requirements_txt):
Removing warnings.filterwarnings(message='Private repos not supported', action='ignore', category=UserWarning) cc: @madpah |
I'm looking to use this in a project, but saw that private code (using --index-url or --extra-index-url) is not supported. I wanted to ask what the reason was? Is it simply because it has not yet been implemented or is there some other reason (security etc.)? Thanks for your work on this!
The text was updated successfully, but these errors were encountered: