I want pip
to install wheel from my wheelhouse, and fallback to PyPI (via caching proxy) if and only if the wheel is missing from the wheelhouse.
I'm attempting to achieve this by calling
pip install -U --index-url $PYPI_PROXY_URL --find-links $WHEELHOUSE_URL \
-r requirements.txt
However instead of being deterministic in where it gets the packages from it seems pretty random at where they're coming from, proxied PyPI or the wheelhouse, despite wheelhouse having all the required packages.
I want this to be deterministic and always choose the wheelhouse first. How can I achieve that with pip
?
I know --no-index
would force it to use only the wheelhouse, but I want to retain the ability to fallback for packages missing from the wheelhouse.