You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I added this as a comment in #34, but since it was an closed issue I don't think that was the right approach =/
I was thinking how can pipenv deal with extra-index-url, that is, one can't just assume this "source" will have all pypi sources and some more. For now I don't think Pipfile treats extra-index-url in a more clear way, so one way of dealing with this, would be considering that any source specified in the project sources (pipenv would have to be able to use all of the defined sources) could be a extra-index-url.
Then whenever pipenv would access/use project.source as a single source, it would use instead a project.sources and do a re-try(if the given package can't be found in the first check for example) for each source present in project.sources and raise an error only if the given package couldn't be installed/searched/etc after trying every source available.
This would end the problem with --extra-index-url and would also make pipenv work with more then one source, instead forwarding the -i when calling pip.
What do you think?
The text was updated successfully, but these errors were encountered:
At first I added this as a comment in #34, but since it was an closed issue I don't think that was the right approach =/
I was thinking how can pipenv deal with extra-index-url, that is, one can't just assume this "source" will have all pypi sources and some more. For now I don't think Pipfile treats extra-index-url in a more clear way, so one way of dealing with this, would be considering that any source specified in the project sources (pipenv would have to be able to use all of the defined sources) could be a extra-index-url.
I imagined that one could use a Pipfile like:
Then whenever pipenv would access/use
project.source
as a single source, it would use instead aproject.sources
and do a re-try(if the given package can't be found in the first check for example) for each source present inproject.sources
and raise an error only if the given package couldn't be installed/searched/etc after trying every source available.This would end the problem with
--extra-index-url
and would also make pipenv work with more then one source, instead forwarding the-i
when callingpip
.What do you think?
The text was updated successfully, but these errors were encountered: