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
Hello, thanks so much for writing and maintaining devpi!
I've got an unusual situation. I need to cache pypi in an environment which may as well be disconnected from the internet. Further complicating things, I don't have a reliable pypi mirror to source from, but two different mirrors which each may be missing different packages.
Is there any way to use devpi-server such that if it is unable to find a module from one mirror_url it could retry with a different mirror_url? (I've tried to use apache in front of devpi-server but can't rewrite on 404 as well as proxy to either server...it's a long story but it may not be a viable option)
Thanks again!
The text was updated successfully, but these errors were encountered:
It turns out that for policy reasons access between the server running devpi-server and the second pypi repo wasn't permitted. So we ended up using a pip.conf which uses an --extra-index-url with the second repo.
While pip randomly will use either repo, it doesn't really matter, clients will use the newer version of a package with the same name from whichever repo is more up to date. As far as I tested it seemed to find the packages we needed at either repo too.
Hello, thanks so much for writing and maintaining devpi!
I've got an unusual situation. I need to cache pypi in an environment which may as well be disconnected from the internet. Further complicating things, I don't have a reliable pypi mirror to source from, but two different mirrors which each may be missing different packages.
Is there any way to use devpi-server such that if it is unable to find a module from one mirror_url it could retry with a different mirror_url?
(I've tried to use apache in front of devpi-server but can't rewrite on 404 as well as proxy to either server...it's a long story but it may not be a viable option)
Thanks again!
The text was updated successfully, but these errors were encountered: