Public bug reported:
mercurial 7.2.4-2 (Debian) switched its autopkgtest to pybuild-autopkgtest.
debian/pybuild.testfiles copies the mercurial/ and hgext/ source directories
into
the test directory, and the tests run with PYTHONPATH pointing at it, so they
import the unbuilt source (no C extensions, no .mo translations) instead of the
installed package.
Result: 17 test failures in the autopkgtest (test-gendoc*.t, test-log.t,
test-i18n.t, test-hashutil.py, test-install.t, test-parseindex.t,
test-persistent-nodemap*.t, ...), e.g.:
cannot import name 'base85' from 'mercurial.cext'
(/tmp/autopkgtest.XXXXXX/autopkgtest_tmp/build/mercurial/cext/__init__.py)
The build-time test suite is unaffected (passes with python3.14 and
python3.15). 7.2.4-1ubuntu1 used the previous autopkgtest and did not hit
this, so syncing/merging 7.2.4-2 as-is would be an autopkgtest regression
that blocks migration.
The same failure is visible in Debian CI
** Affects: mercurial (Ubuntu)
Importance: Undecided
Assignee: Nadzeya Hutsko (nadzeya)
Status: In Progress
** Affects: mercurial (Debian)
Importance: Unknown
Status: Unknown
** Changed in: mercurial (Ubuntu)
Assignee: (unassigned) => Nadzeya Hutsko (nadzeya)
** Changed in: mercurial (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175096
Title:
autopkgtest fails: tests import the unbuilt source tree instead of the
installed package
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mercurial/+bug/2175096/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs