Public bug reported:
Autopkgtest currently fails on mailman3 in questing
At first glance, the following change in the new python-click 8.1.8
introduced caching of help flags, thus making help flags of the parent
command trickle down to the digest subcommand:
> Cache the help option generated by the help_option_names setting to
respect its eagerness. #2811
Test Ouput:
910s FAIL:
/tmp/autopkgtest.Cntk4U/build.ak7/src/src/mailman/commands/docs/digests.rst
910s ----------------------------------------------------------------------
910s Traceback (most recent call last):
910s File "/usr/lib/python3.13/doctest.py", line 2327, in runTest
910s raise self.failureException(self.format_failure(new.getvalue()))
910s AssertionError: Failed doctest test for digests.rst
910s File
"/tmp/autopkgtest.Cntk4U/build.ak7/src/src/mailman/commands/docs/digests.rst",
line 0
910s
910s ----------------------------------------------------------------------
910s File
"/tmp/autopkgtest.Cntk4U/build.ak7/src/src/mailman/commands/docs/digests.rst",
line 28, in digests.rst
910s Failed example:
910s command('mailman digests --help')
910s Differences (ndiff with -expected +actual):
910s Usage: digests [OPTIONS]
910s <BLANKLINE>
910s Operate on digests.
910s <BLANKLINE>
910s Options:
910s -l, --list list Operate on this mailing list. Multiple --list
options can be
910s given. The argument can either be a List-ID or a
fully
910s qualified list name. Without this option,
operate on the
910s digests for all mailing lists.
910s -s, --send Send any collected digests right now, even if the
size
910s threshold has not yet been met.
910s -b, --bump Increment the digest volume number and reset the
digest
910s number to one. If given with --send, the volume
number is
910s incremented before any current digests are sent.
910s -n, --dry-run Don't actually do anything, but in conjunction
with
910s --verbose, show what would happen.
910s -v, --verbose Print some additional status.
910s -p, --periodic Send any collected digests for the List only if
their
910s digest_send_periodic is set to True.
910s - --help Show this message and exit.
910s + -h, --help Show this message and exit.
910s ? ++++
910s
910s
910s ----------------------------------------------------------------------
910s Ran 2216 tests in 456.635s
** Affects: mailman3 (Ubuntu)
Importance: Undecided
Assignee: Simon Poirier (simpoir)
Status: In Progress
** Changed in: mailman3 (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/2118683
Title:
autopkgtest failure on mailman3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman3/+bug/2118683/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs