hg is never imported - move dependency from pip to packages