ml6team / fondant

Production-ready data processing made easy and shareable
https://fondant.ai/en/stable/
Apache License 2.0
342 stars 25 forks source link

When building a custom component with fondant build, it requests to install docker #891

Closed jBontinck closed 8 months ago

jBontinck commented 8 months ago

I am starting from a clean setup with pip install fondant + I followed the instructions to install docker desktop. I made an easy custom DaskLoadComponent and wanted to build it with fondant build . -t v1

I receive following message: You need to install docker to use the fondant build command, you can install it with pip install fondant[docker]

I would expect that I don't need additional libraries given

I can solve this by following the feedback in the message, but is not what I expected

jBontinck commented 8 months ago

Coming back to this: When executing the command pip install fondant[docker] i get following message zsh: no matches found: fondant[docker]

solved with pip install docker

mrchtr commented 8 months ago

@jBontinck thanks for the feedback. Looks like your shell is not interpreting the command correctly. For zsh pip install "fondant[docker]" should work. We should consider updating the log message here.

For the case you want to install all extra requirements you could use pip install "fondant[all]", but this will install a lot of things that you probably don't need right now.

It looks like we should revisit the dependencies and extra groups.