You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the steps to prepare the handson-ml2 image from the docker setup readme
Expected
The handson-ml2 docker image is created
Actual
Failed when building due to an attempt to import from gitdb.util.compat module.
Step 15/18 : RUN git-nbdiffdriver config --enable --global
---> Running in d15cbb46ac68
Traceback (most recent call last):
File "/opt/conda/envs/tf2/bin/git-nbdiffdriver", line 7, in <module>
from nbdime.vcs.git.diffdriver import main
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/nbdime/vcs/git/diffdriver.py", line 26, in <module>
from nbdime.args import (
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/nbdime/args.py", line 18, in <module>
from .gitfiles import is_gitref
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/nbdime/gitfiles.py", line 11, in <module>
from git import (
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/git/__init__.py", line 38, in <module>
from git.exc import * # @NoMove @IgnorePep8
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/git/exc.py", line 9, in <module>
from git.compat import UnicodeMixin, safe_decode, string_types
File "/opt/conda/envs/tf2/lib/python3.7/site-packages/git/compat.py", line 16, in <module>
from gitdb.utils.compat import (
ModuleNotFoundError: No module named 'gitdb.utils.compat'
ERROR: Service 'handson-ml2' failed to build: The command '/bin/sh -c git-nbdiffdriver config --enable --global' returned a non-zero code: 1
Further investigation led me to believe that the compat module has been removed in gitdb version 3.0.2.
Reproduction Step
handson-ml2
image from the docker setup readmeExpected
The
handson-ml2
docker image is createdActual
Failed when building due to an attempt to import from
gitdb.util.compat
module.Further investigation led me to believe that the
compat
module has been removed in gitdb version3.0.2
.The
gitdb
is a resolved dependency chain as belowhandson-ml2
nbdime
GitPython
The text was updated successfully, but these errors were encountered: