#1147737 FTBFS: choke on test_cfunction : "asctime([time_tuple])" != "asctime([tuple])"

Package:
src:sphinx
Source:
src:sphinx
Submitter:
Alexandre Detiste
Date:
2026-09-15 12:51:02 UTC
Severity:
normal
Tags:
#1147737#5
Date:
2026-09-14 20:48:15 UTC
From:
To:

=================================== FAILURES ===================================
            '',
            '.. py:function:: asctime([tuple]) -> string',
            '   :module: time',
            '',
            "   Convert a time tuple to a string, e.g. 'Sat Jun 06 16:26:11 1998'.",
            '   When the time tuple is not present, current time as returned by localtime()',
            '   is used.',
            '',
        ]
E       AssertionError: assert ['', '.. py:f...ltime()', ...] == ['', '.. py:f...ltime()', ...]
E
E         At index 1 diff: '.. py:function:: asctime([time_tuple]) -> string' != '.. py:function:: asctime([tuple]) -> string'
E
E         Full diff:
E           [
E               '',
E         -     '.. py:function:: asctime([tuple]) -> string',...
E
E         ...Full output truncated (10 lines hidden), use '-vv' to show
tests/test_ext_autodoc/test_ext_autodoc_autofunction.py:126: AssertionError

#1147737#8
Date:
2026-09-15 12:35:33 UTC
From:
To:
Hello,

Bug #1147737 in sphinx reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/sphinx/-/commit/d2baa1f3feb56f54ea6218aef9de48870c011055
------------------------------------------------------------------------
Add a patch to fix test failure in test_cfunction.

Closes: #1147737.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147737

#1147737#15
Date:
2026-09-15 12:49:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sphinx, 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 1147737@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated sphinx 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 15 Sep 2026 14:39:13 +0300
Source: sphinx
Architecture: source
Version: 9.1.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1147737
Changes:
 sphinx (9.1.0-8) unstable; urgency=medium
 .
   [ Alexandre Detiste ]
   * Drop python3-setuptools from debian/tests/control.
   * Drop build-dependency on python3-html5lib.
 .
   [ Dmitry Shachnev ]
   * Add a patch to fix test failure in test_cfunction (closes: #1147737).
Checksums-Sha1:
 233740b35fc3ce04e19f11d294cf227229f213d9 3622 sphinx_9.1.0-8.dsc
 04a0c0a38174fa3597ed5f71a939d6e10f8c3e1a 40732 sphinx_9.1.0-8.debian.tar.xz
 449609a3fba0a97c4bd0469ccf06f002a0131c4a 7570 sphinx_9.1.0-8_source.buildinfo
Checksums-Sha256:
 8dea39b3dfb4b1cb03d24a64615fa0996d06c85c08d6aa5cbf470af0d98f7cfa 3622 sphinx_9.1.0-8.dsc
 e4846833b9dde5d1aac409b4c09e1ca19933e40f2b3251acc431726a21821845 40732 sphinx_9.1.0-8.debian.tar.xz
 a177aecacb9f708aaf4ff4dbb1e3ecb9d70f60ccc804266411f7f787919e7c9c 7570 sphinx_9.1.0-8_source.buildinfo
Files:
 0c03c675367ada16858f94b567fa9139 3622 python optional sphinx_9.1.0-8.dsc
 0dad182869a90f6d64c9ec26e4bc5a5d 40732 python optional sphinx_9.1.0-8.debian.tar.xz
 6bb6862e0462337dfd0a348cc2ccf30e 7570 python optional sphinx_9.1.0-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmqpPDUTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4HN9D/4rpMZEhpdYRrQhZKbDdXkoMM0I2DoT
Jbnvzt53gLSmMbRZiCPqFyGv63TizWOonledyP0frkdUpfVWyXqj3Fc5j8M2lygJ
k3N1zz0Y1Ze9NpFJmGbbkgPP7D98JeObLrinHKKl3i1FNaXCadCOpYrLF9GJh1OM
IP08+kmx5gvFsqzjcboAlyVtLd5MIaUvbzgzlGoAgjXh7O5GTNQbaUCDdgRqvyIo
tdGk3/VMhpqICVW0a4X5wCv59/gm9Yq1yARlZJTRj8Hxu/7On9C8DBTkcU4M4MOZ
VaVtFUObaa7ALRF0VIzv1fVR1slQXtDivR4JPpkEl5NTKJvdFC5gLUqS1idVSYO7
4G6RBpLGDEObGk9jHWF/WMvhbvMiY48hZLttNZkbztTOHUKGhECmjDZk1gy+RCya
AUL52FnqrDCQ+wZUStcjcovRoOW76l6wa6Z+UpoVpuAlBQ5pLkM1KNQCZBu2AqZh
cg2FNEzU7ifhyuc3qfzILi6g8v4ZbnOWJtl/6tdHhkhWQyEK/4Ho+KJqCGoUkm5c
HkKZBFnAtaowNjQtiTGA7+y4cO7GLnl+Ka1NRYv32uiUD9Gk9sM9YmHwlzMj+hOY
/9QcFn1YCZLIs2YXkVVmCSqs9cV9FQMkmK40Zrs9vhIbt/oxwwU5LimE9L+k67Py
YE5azafy2Y5GKg==
=pt/t
-----END PGP SIGNATURE-----