Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`--trusted-host` not passed to `pip` when installing from a lockfile #2979
On the latest pipenv release, running
Steps to replicate
Notice how the argument is not passed to pip when calling
Ends up calling
It also seems to correctly parse the
Thanks for catching this. Is this before the bug fix release goes out! Note that there was another issue on the topic already so it’s helpful to find the actual cause. I think you’re spot on, we just need to actually do something with the correctly parsed trusted host. There is some redundant code there as well, but I’m not confident enough to remove it just now
We have had an endless stream of issues around sources so I’m anxious to have this sorted.
We can sort this in a slightly hacky way by just passing
I don't think this is the best long term solution, but if it sounds OK I could try and prepare a PR?