requirements-parser icon indicating copy to clipboard operation
requirements-parser copied to clipboard

Support private Repositories

Open SirUli opened this issue 3 years ago • 3 comments

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!

SirUli avatar Jan 21 '22 11:01 SirUli

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:

  • Allow Requirement to hold an option or a requirement line. I am unsure how to implement that without breaking the API
  • Extra class for options, so a set of Requirement instances would be returned with a set of Option ... but that would also break the current API.

Any thoughts?

eqrx avatar Jan 24 '22 11:01 eqrx

+1 for supporting private PIP repositories

JoelKle avatar Feb 08 '22 09:02 JoelKle

Any news?

Akasurde avatar May 13 '22 11:05 Akasurde