Re:Show HN: Morgan – PyPI Mirror for Restricted/Offline Envi...
by idop on Friday September 23, 2022 @01:27PM
(#32954735)
No, as I mention both in this post and in the README. Pip will download binary distributions (wheels) that were compiled for the system it is running on. If my mirror is meant to serve a different version of Python installed on a different OS with a different libc (or other such differences), then it won't work. I could try to match the target environment on the mirroring side, say with Docker, but this is either cumbersome or still not possible if you have legacy environments from years before.
[ Parent
| on HN ]
Re:Show HN: Morgan – PyPI Mirror for Restricted/Offline Envi...
by jpitz on Friday September 23, 2022 @03:54PM
(#32956324)
By default it will download wheels for the system it is running on, but there are knobs to tweak that.
https://pip.pypa.io/en/stable/cli/pip_download/#cmdoption-pl...