Can't import module mercurial

Bug #1904059 reported by Frank Van Damme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-remote-hg (Debian)
Fix Released
Unknown
git-remote-hg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mercurial switched to python3 from Focal to Groovy. Thus:

 git-remote-hg
Traceback (most recent call last):
  File "/usr/bin/git-remote-hg", line 16, in <module>
    from mercurial import hg, ui, bookmarks, context, encoding
ImportError: No module named mercurial

git-remote-hg is a python2 application. Mercurial's modules aren't compatible with it.

Tags: groovy hirsute
tags: added: groovy hirsute
Changed in git-remote-hg (Debian):
status: Unknown → Confirmed
Changed in git-remote-hg (Debian):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package git-remote-hg - 1.0.2.1~ds-3

---------------
git-remote-hg (1.0.2.1~ds-3) unstable; urgency=medium

  * QA upload.
  * Make the tests verbose unless terse mode is on
  * Add missing @ autopkgtest dependency
  * Allow stderr for the autopkgtests due to verbose mode

 -- Paul Wise <email address hidden> Sun, 29 Aug 2021 18:33:59 +0800

Changed in git-remote-hg (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.