Traceback (most recent call last):


 "./replicate_bug.py", line 13, in <module>

test_graphviz()


 "./replicate_bug.py", line 9, in test_graphviz

img = pymc3.model_to_graphviz(model)


 "/home/new_env/lib/python3.8/site-packages/pymc3/model_graph.py", line 233, in model_to_graphviz

return ModelGraph(model).make_graph()


 "/home/new_env/lib/python3.8/site-packages/pymc3/model_graph.py", line 213, in make_graph

self._make_node(var_name, graph)


 "/home/new_env/lib/python3.8/site-packages/pymc3/model_graph.py", line 149, in _make_node

label = str(v).replace(" ~ ", "\n~\n")


 "/home/new_env/lib/python3.8/site-packages/pymc3/model.py", line 83, in __str__

return self._str_repr(formatting="plain", **kwargs)


 "/home/new_env/lib/python3.8/site-packages/pymc3/model.py", line 77, in _str_repr

return self.distribution._str_repr(name=name, dist=dist, formatting=formatting)


 "/home/new_env/lib/python3.8/site-packages/pymc3/distributions/distribution.py", line 176, in _str_repr

param_values = [


 "/home/new_env/lib/python3.8/site-packages/pymc3/distributions/distribution.py", line 177, in <listcomp>

get_repr_for_variable(getattr(dist, x), formatting=formatting) for x in param_names
AttributeError: '_ContinuousBounded' object has no attribute 'distribution'

Traceback (most recent call last):


 "/home/xxx/.local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/cli/command.py", line 249, in install

editable_packages=state.installstate.editables,


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/core.py", line 1976, in do_install

skip_lock=skip_lock,


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/core.py", line 1274, in do_init

pypi_mirror=pypi_mirror,


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/core.py", line 1058, in do_lock

dev=settings["dev"],


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/utils.py", line 1154, in get_vcs_deps

with locked_repository(requirement) as repo:


 "/home/xxx/.pyenv/versions/3.6.4/lib/python3.6/contextlib.py", line 81, in __enter__

return next(self.gen)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/utils.py", line 1288, in locked_repository

with requirement.req.locked_vcs_repo(src_dir=src_dir) as repo:


 "/home/xxx/.pyenv/versions/3.6.4/lib/python3.6/contextlib.py", line 81, in __enter__

return next(self.gen)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 621, in locked_vcs_repo

vcsrepo = self.get_vcs_repo(src_dir=src_dir)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 599, in get_vcs_repo

vcsrepo.obtain()


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/vcs.py", line 37, in obtain

self.checkout_ref(self.ref)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/vcs.py", line 45, in checkout_ref

self.checkout_directory, self.get_commit_hash(ref)


 "/home/xxx/.local/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/vcs.py", line 63, in get_commit_hash

return self.repo_instance.get_revision_sha(self.checkout_directory, target_ref.arg_rev)
AttributeError: 'Mercurial' object has no attribute 'get_revision_sha'
