aboutcode-org / aboutcode-org/pip-requirements-parser

Support http/https nested requirements

Offen
#18 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
20
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

Thanks for this lib, it is very useful !

I was trying to use it in `pip-deepfreeze` as a replacement of my own copy of the pip parser (https://github.com/sbidoul/pip-deepfreeze/pull/107), when I realized it only supports nested requirements that are local files. `pip` does support http and https URLs as nested requirements files.

Would you consider this in scope?

It could be implemented with an optional `fetch` function to be provided by the user and called when nested requirements are `http` or `https`. This way, this project would not need to depend on an http client library nor worry about all the subtleties involved with URL fetching such as authentication, etc.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.