In Jupyter server ROCKs import test ensures that all packages are installed correctly. However, outdated kfp installation (pinned to 1.6.3) causes dependency issue (if import kfp is present in test):
tox -e unit
. . .
from urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name 'appengine' from 'urllib3.contrib' (/opt/conda/lib/python3.8/site-packages/urllib3/contrib/__init__.py)
Description
In Jupyter server ROCKs import test ensures that all packages are installed correctly. However, outdated
kfp
installation (pinned to 1.6.3) causes dependency issue (ifimport kfp
is present in test):This issue was discovered when updating Tensorflow ROCK: https://github.com/canonical/kubeflow-rocks/pull/49
ROCK import tests should be reviewed and a solution should be found to ensure that
kfp
can be imported correctly without causing.