ripe-nail-88959
06/08/2024, 4:37 AM@pypi_base
with a package that is in a private repository but I haven't been able to get it to work. I've defined the pip.conf file as follows:
[global]
extra-index-url = https://<USER>:<TOKEN>@gitlab.com/api/v4/projects/<PROJECT_ID>/packages/pypi/simple
[install]
trusted-host = <http://gitlab.com|gitlab.com>
When installing the package with pip outside Metaflow it works as expected. But when Metaflow tries to bootstrap the virtual environment containing the package, I receive an error stating that a package that is a dependency of the private library could not be found (lightgbm in this case):
ERROR: Could not find a version that satisfies the requirement lightgbm<5.0.0,>=4.3.0 (from <MY_PRIVATE_LIB>) (from versions: none)
ERROR: No matching distribution found for lightgbm<5.0.0,>=4.3.0
Does anyone have an idea of what the problem might be?