Open RussellSB opened 2 months ago
Hi!
Thank you so much for reporting. Indeed, these packages are missing. I created a task in our backlog to add these missing pip modules.
Great, thank you! Look forward to this,
Hey, are there any updates? Would be great to know how far down the roadmap this issue could be tackled.
I've been trying to see if I can add this dependency but I'm running into a wall... I don't have any way to see how the stacksmith
dependencies are built, or make changes to it.
I tried adding the google-cloud-sdk dependency; but to no avail. From what I can see nowhere in this repository pip install
is actually used; so it must be enforced. Perhaps a maintainer can help me understand how to do this?
I tried the following: https://gist.github.com/dhrp/f5ad291ab9ab583e85da1bf930326d33
but it doesn't install the python SDK / the import does not work.
[edit] Actually; simply adding:
RUN pip install google-cloud-storage
to the end of the Dockerfile works. Would you be interested in a contribution like this? -- or should it really go into the stacksmith part?
pinging @javsalgar. I'm planning to also pick up https://github.com/bitnami/charts/issues/22720; but this is a dependency.
Hi everyone
Could you please give it a try using the image tag 2.14.1-debian-12-r1
? We included the missing Python module on this image revision.
Name and Version
bitnami/mlflow
What architecture are you using?
amd64
What steps will reproduce the bug?
Right now we have MLFlow setup with GCP and relying on the bitnami image. Whenever we try log ML models to the tracking server it tries saving it under the hood to google cloud storage but fails due to missing package
google-cloud-storage
and its dependencies (google.auth included). To reproduce simply without having to setup the whole GCP server;from google.auth.exceptions import DefaultCredentialsError
(as per https://github.com/mlflow/mlflow/blob/master/mlflow/store/artifact/gcs_artifact_repo.py)What is the expected behavior?
It imports correctly.
What do you see instead?
Additional information
As a work around we install
google-cloud-storage
over the image everytime the server is connected to, but would be good to have it in built in the image since it is core functionality. Would open a PR but not sure where to install this missing package in the repo.This also seems related; https://github.com/bitnami/charts/issues/22720