madpah / requirements-parser

A Pip requirements file parser.
https://requirements-parser.readthedocs.io
Apache License 2.0
125 stars 41 forks source link

Support private Repositories #64

Open SirUli opened 2 years ago

SirUli commented 2 years ago

As a follow-up to the https://github.com/madpah/requirements-parser/pull/63 it would be awesome if you could add support for private repositories (currently they are not (https://github.com/madpah/requirements-parser/blob/master/requirements/parser.py#L72-L76)).

This came out of the detective work for https://github.com/ansible/ansible-builder/issues/319 where I'd love to see these supported.

Thanks in advance!

eqrx commented 2 years ago

I wanted to open a PR for it but I noticed that requirements-parser represents actual requirements as the class Requirement and drops everything else (now gracefully, good job :) ). I am wondering how this could be implemented:

Any thoughts?

JoelKle commented 2 years ago

+1 for supporting private PIP repositories

Akasurde commented 2 years ago

Any news?