Package: mercurial-git
Version: 1.0.1-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: andi.m.mccl...@gmail.com

I installed stable/bookworm. I installed mercurial and mercurial-git. Both
worked. I upgraded to testing/trixie. Now whenever I run hg it prints

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mercurial/extensions.py", line 256, in
_runuisetup
    uisetup(ui)
  File "/usr/lib/python3/dist-packages/mercurial/exthelper.py", line 148, in
finaluisetup
    extensions.wrapfunction(cont, funcname, wrapper)
  File "/usr/lib/python3/dist-packages/mercurial/extensions.py", line 679, in
wrapfunction
    raise TypeError(msg)
TypeError: b'wrapfunction target name should be `str`, not `bytes`'
*** failed to set up extension hggit: b'wrapfunction target name should be
`str`, not `bytes`'

hg functions, but it prints this warning at every boot, and any hg-git related
feature fails. For example `hg clone g...@github.com:baldurk/renderdoc.git`
prints the warning, then prints "abort: repository
g...@github.com:baldurk/renderdoc.git not found".

I don't know how to test unstable, sorry.

   * What led up to the situation?
Upgraded to Trixie
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Removed [extensions] hggit= from my ~/.hgrc, which made the warnings stop, but
also meant I cannot use mercurial-git.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mercurial-git depends on:
ii  mercurial [python3-mercurial]  6.9-1
ii  python3                        3.12.8-1
ii  python3-dulwich                0.22.7-1

mercurial-git recommends no packages.

mercurial-git suggests no packages.

-- no debconf information

Reply via email to