Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Fix Dockerfiles (enum & KFP installation) #280

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

elikatsis
Copy link
Member

  • Force the installation of enum34==1.1.8. Other versions raise errors
    on KFP installation
  • Do not install KFP separately, let Kale requirements do it

Closes #274

Signed-off-by: Ilias Katsakioris [email protected]

* Force the installation of enum34==1.1.8. Other versions raise errors
  on KFP installation, this happens since KFP version 1.1.0. The faulty
  dependency is docstring-parser [*]
* Do not install KFP separately, let Kale requirements do it

[*] `enum34` patches the built-in Enum and is known to cause issues with
many libraries. In general, the solution is to just uninstall it. Most
probably this dependency is needed by the base image's TensorFlow, thus
we just pin it to a version that work with KFP as well.

Closes kubeflow-kale#274

Signed-off-by: Ilias Katsakioris <[email protected]>
Reviewed-by: Stefano Fioravanzo <[email protected]>
@StefanoFioravanzo StefanoFioravanzo merged commit 2ac934b into kubeflow-kale:master Jan 12, 2021
@StefanoFioravanzo StefanoFioravanzo deleted the fix-dockerfile branch January 12, 2021 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker image create error :: AttributeError: module 'enum' has no attribute 'IntFlag'
2 participants