Your message dated Mon, 23 Nov 2026 20:50:00 +0000
with message-id <[email protected]>
and subject line Bug#1154507: fixed in mercurial 7.2.4-3
has caused the Debian Bug report #1154507,
regarding mercurial: autopkgtest runs against the unbuilt source tree instead 
of the installed package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1154507: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154507
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mercurial
Version: 7.2.4-2
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

Since 7.2.4-2 the autopkgtest uses pybuild-autopkgtest. debian/pybuild.testfiles
copies the hgext/ and mercurial/ source directories into the test directory, and
the tests run with PYTHONPATH pointing at that directory. As a result, both
run-tests.py and /usr/bin/hg import the copied, unbuilt mercurial source instead
of the installed package from /usr/lib/python3/dist-packages.

That copy has no C extensions and no compiled translation catalogs, so hg falls
back to the pure-Python modules and runs untranslated. For example, from
test-install.t:

```
  cannot import name 'base85' from 'mercurial.cext'
  (/tmp/autopkgtest.XXXXXX/autopkgtest_tmp/build/mercurial/cext/__init__.py)

17 tests fail on amd64:

  Missing .mo translations:
    test-gendoc.t, test-gendoc-de.t, test-gendoc-ja.t, test-gendoc-ro.t,
    test-i18n.t, test-log.t, test-commit-interactive.t, test-extension.t
  Missing C extensions (pure-Python fallback):
    test-hashutil.py, test-install.t, test-parseindex.t,
    test-persistent-nodemap.t, test-persistent-nodemap-stream-clone.t
    (stream-v2, stream-v3), test-revlog-mmapindex.t, test-annotate.t,
    test-fastannotate-hg.t

  # Ran 1002 tests, 72 skipped, 17 failed.
```

The same suite passes during the build (980 tests, 0 failed with both python3.14
and python3.15), because there PYTHONPATH points at the built tree.

This matches the current debci status for mercurial (failing in unstable and
testing)

You can consider stop copying the mercurial and hgext source trees, so the
tests exercise the installed package:

```
- --- a/debian/pybuild.testfiles
+++ b/debian/pybuild.testfiles
@@ -3,6 +3,4 @@
 contrib
 i18n
 doc
- -hgext
- -mercurial
 mercurial/thirdparty/cbor mercurial/thirdparty/
```

Regards,
Nadzeya

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmr/Y2EACgkQ/lAdKwFe
ZPsO1w//T1cUWVZ5FF662yJz1J9HoGBC83bEH7XLVV1Nn9rgje/PChWTU+YbARrU
9ex0oyqknQ3TLQVwFLWJ4iF1lrzDpO/N7DyGVNTN9SQ3bDWZO282LNYK4uEp/7BP
ewUOsBPTJ03yqKcTvMSJnsN0ZddbVVYr0xOHYfpNVfN/xz9fXD2BqxVfu4MA9/GX
l73y0+riOF/VCur248HuEvfKqw7frRksAsbufZ/Saa8fw8ZN+cyIVCtJO9pKZqf7
FfryfXysFqJD3RUFtP6EA9DK6ZrO1Ylkm6qYM/r1BbYjcrOIm1Pv6MFnr3n4PAGa
DD7nTkDkb7f0YxrpJulLG2O7bCibTKHOyu49bgsNpCvvsVLw7iruoGfvW1Yx1At8
A5NQjET0PB+vKmF9L6I3gwthVfRjTfL4aSSLJ0mFCMCmPLlxbwLQeNrzF3ycA8OJ
iJsg2PF+1D8PVlIzDAwdfGGLD4GRqt5SSBR+Q7mY+fFZEEw+QetqJSW/FnrlNrgb
w5yY/XyPUY49FfwqVWjtk6Qmyls0x+poSLYgx7d1fISxvg7y84ShcjqpECJ/21xM
PFduYfjTmuch/oFPnA974d1645UlEt0OQWGFLN74acwAIC/25s0XQWByHNFCzU23
Qvnn3l3aQmDOMB2DYuWkFYtUV+XLqez2dd8MzM/YMKZ5Y3Ny4xQ=
=kBGp
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: mercurial
Source-Version: 7.2.4-3
Done: Julien Cristau <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mercurial, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <[email protected]> (supplier of updated mercurial package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 23 Nov 2026 19:59:36 +0100
Source: mercurial
Architecture: source
Version: 7.2.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Julien Cristau <[email protected]>
Closes: 1154507
Changes:
 mercurial (7.2.4-3) unstable; urgency=medium
 .
   * Revert to running the testsuite only with the default Python
     version, at build time and in autopkgtest, instead of using
     pybuild's per-interpreter testing (with --with-hg=/usr/bin/hg,
     autopkgtest ran hg under the default python anyway).  Don't restore
     the hgsubversion and mercurial-git test scripts, unused since their
     autopkgtests were disabled in 4.6-1 (#890191).  The autopkgtest runs
     against the installed package again (closes: #1154507).
   * Add tzdata-legacy to the autopkgtest dependencies, and re-enable
     test-convert-svn-source.t, which uses TZ=US/Hawaii.
   * Re-enable test-convert-svn-encoding.t: fix non-UTF-8 file URL
     detection in convert's svn source with Python 3.12+ (proposed
     upstream).
   * Fix test-phabricator.t (proposed upstream), and restore python3-vcr
     in the autopkgtest dependencies so it is run again.
   * Revert debian/watch to format version 3; version 5 isn't supported
     by uscan in trixie.
   * Re-enable test-http-proxy.t and test-lfs-serve-access.t, which pass
     on the buildds.
   * Revert test-doctest.py patch to walk the source tree again; the
     7.2.4-2 version only works when a "tests" package is importable,
     as in the pybuild test layout.
   * autopkgtest: allow running a subset of the tests via
     HGTEST_SHARD_TOTAL/HGTEST_SHARD_INDEX, and use that to split the
     Salsa CI autopkgtest job into 4 parallel jobs.
Checksums-Sha1:
 59277cbea6d29a945c6be48e6f7f38929e47af91 2909 mercurial_7.2.4-3.dsc
 5b1883113edf196b7391df25795dd3404f92bf89 9304061 mercurial_7.2.4.orig.tar.gz
 c7e27c07ff54577915b62a44152f9308c07e1322 659 mercurial_7.2.4.orig.tar.gz.asc
 70c4920d89792677f5badefc9a00c5148a28fe3a 58272 mercurial_7.2.4-3.debian.tar.xz
Checksums-Sha256:
 025f7c3621125ab25db245e90ca5652f3bbdcb571c1ebd26c3d57292d2d66bdb 2909 
mercurial_7.2.4-3.dsc
 85839e0f39e6cb893a88932aa36ef661759f3c5c5de4551ad26bd9df53cb71a2 9304061 
mercurial_7.2.4.orig.tar.gz
 3bceab5db26cdfc5eb7be1f66b10be5b4bce3f33ee760657de1706e896a5f26c 659 
mercurial_7.2.4.orig.tar.gz.asc
 f124f0390e1ea2b30b77b5d6dc57cf559b6d487e5317dcc08542a4048f246973 58272 
mercurial_7.2.4-3.debian.tar.xz
Files:
 5eb9cf1ecf60d5a1a3a33d1e8ccb49d3 2909 vcs optional mercurial_7.2.4-3.dsc
 625110ea71d1b872f1e3c59227842db5 9304061 vcs optional 
mercurial_7.2.4.orig.tar.gz
 631f3c50346f63a0c28beebe82a926bb 659 vcs optional 
mercurial_7.2.4.orig.tar.gz.asc
 99fde781860842853010c9b717c935ad 58272 vcs optional 
mercurial_7.2.4-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEVXgdqzTmGgnvuIvhnbAjVVb4z60FAmsEpYMUHGpjcmlzdGF1
QGRlYmlhbi5vcmcACgkQnbAjVVb4z62xHA//RtzPkTdn4JNKtU78+Ioqb9RBr2BJ
JpfeyGgYileQERr+OU9qQ0Uqh+PYy4hTyNcjVFIAnXuMeulJx5D+6cv/ONzPhBlg
zF1pAxujM3wiKMwpPz1SFY6VWFxYG5aO8t2HKaIdtrBo4Ffjrpal5YcVudhF9doj
N+CdQz7sgXba7SLvFcgZMkmKCLyLvDxn5mtcr/0Esx8FzzDlO3E5QZCRK3fG8L4R
NvhmB9iw7qfKzOyeY5Ze92aUi7Q75KwsENVjRkmtrm7qsc2BaL34qWOA+00vJlIN
4/OMGde2aDJpyZwDVdEfOZfZsIugwpqnMQdoyCoB5wQFDNTlZuPCMxb2qTg4H4yx
yfnFCrPE+ixfzZvA/E5L1xDDeScEvDvhA7VUwHmSFvoMNC3CGAVG6T/8QTxg5uuU
FGHyhrAOFlpmJdnkrs+iCZtmxEn0p94MXMmJ6plKDbso5rlbI9NkkQt/dpsTmoW8
lbh6fVwjYXUP7QVa/KENilU3tjI+6YoOvxSyMiBCQXMIaaYAx/LRAekkgkRVFXTa
oMgCHCL/Z1B6Xyi+YDVdxQe7iuuhjiddEr78ZbqTmoU53Yj9Xzuy6+SfOXiaEwm5
gaEBrvlQioCDVfSY00WNCDhE1+heUijtybrV5mWtjdwoIQMGv7X/H7/rAnonIP0h
BTlvfNXkp23C62U=
=4mDL
-----END PGP SIGNATURE-----

Attachment: pgpuY7hIkfE1z.pgp
Description: PGP signature


--- End Message ---

Reply via email to