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

Support http/https nested requirements

Aperta
#18 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
20
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.