#1135454 - python-invocations: FTBFS: autodoc_.base_case_of_no_argument_docstringed_task fails (original) (raw)

version graph

Reported by: Santiago Vila sanvila@debian.org

Date: Fri, 1 May 2026 23:15:08 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version python-invocations/4.0.2-2

Fixed in version python-invocations/4.0.2-3

Done: Colin Watson cjwatson@debian.org

Reply or subscribe to this bug.

Display info messages


Report forwardedto debian-bugs-dist@lists.debian.org, sanvila@debian.org (additional cc recipient for {1135454}), Debian Python Team <team+python@tracker.debian.org> (src:python-invocations for {1135454}):
Bug#1135454; Package src:python-invocations. (Fri, 01 May 2026 23:15:08 GMT) (full text, mbox, link).


Acknowledgement sentto Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, team+python@tracker.debian.org. (Fri, 01 May 2026 23:15:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

Package: src:python-invocations Version: 4.0.2-2 Severity: serious Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible.

If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-invocations, so that this is still visible in the BTS web page for this package.

Thanks.


[...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.14

tests/autodoc/base.py ......FF [ 4%] tests/checks.py ................ [ 14%] tests/console.py ........ [ 19%] tests/environment.py .................. [ 29%] tests/main.py . [ 30%] tests/packaging/release.py .........s..ssssss.........s................. [ 57%] ............................................................ [ 92%] tests/pytest_.py ............ [100%]

=================================== FAILURES =================================== ______________ autodoc_.base_case_of_no_argument_docstringed_task ______________

self = <base.autodoc_ object at 0x7f63684a4f30>

def base_case_of_no_argument_docstringed_task(self):
    for sentinel in ("base_case", "smallest possible task"):
      assert sentinel in self.api_docs

E assert 'base_case' in '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' E + where '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' = <base.autodoc_ object at 0x7f63684a4f30>.api_docs

tests/autodoc/base.py:65: AssertionError _________________ autodoc_.simple_case_of_single_argument_task _________________

self = <base.autodoc_ object at 0x7f6367cd1150>

def simple_case_of_single_argument_task(self):
    # TODO: OK we really need something that scales better soon re:
    # viewing the output as a non-HTML string / something that is not
    # super tied to sphinx/theme output...heh
    for sentinel in ("simple_case", "simple_arg", "Parameterization!"):
      assert sentinel in self.api_docs

E assert 'simple_case' in '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' E + where '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' = <base.autodoc_ object at 0x7f6367cd1150>.api_docs

tests/autodoc/base.py:72: AssertionError =============================== warnings summary =============================== tests/packaging/release.py: 125 warnings /usr/lib/python3/dist-packages/releases/init.py:174: RemovedInSphinx11Warning: 'sphinx.environment.BuildEnvironment.app' is deprecated. Check CHANGES for Sphinx API modifications. config = inliner.document.settings.env.app.config

tests/packaging/release.py: 52 warnings /usr/lib/python3/dist-packages/releases/init.py:81: RemovedInSphinx11Warning: 'sphinx.environment.BuildEnvironment.app' is deprecated. Check CHANGES for Sphinx API modifications. config = inliner.document.settings.env.app.config

tests/packaging/release.py: 52 warnings /usr/lib/python3/dist-packages/releases/models.py:113: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead. return Spec(specstr) if specstr else Spec("*")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/autodoc/base.py::autodoc_::base_case_of_no_argument_docstringed_task FAILED tests/autodoc/base.py::autodoc_::simple_case_of_single_argument_task ===== 2 failed, 158 passed, 8 skipped, 6 deselected, 229 warnings in 3.95s ===== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k 'not component_state_enums_contain_human_readable_values' I: pybuild base:385: cd /<>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k 'not component_state_enums_contain_human_readable_values' ============================= test session starts ============================== platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0 rootdir: /<>/.pybuild/cpython3_3.13/build configfile: pytest.ini testpaths: tests plugins: typeguard-4.4.4, mock-3.15.1, relaxed-2.0.2 collected 174 items / 6 deselected / 168 selected

tests/autodoc/base.py ......FF [ 4%] tests/checks.py ................ [ 14%] tests/console.py ........ [ 19%] tests/environment.py .................. [ 29%] tests/main.py . [ 30%] tests/packaging/release.py .........s..ssssss.........s................. [ 57%] ............................................................ [ 92%] tests/pytest_.py ............ [100%]

=================================== FAILURES =================================== ______________ autodoc_.base_case_of_no_argument_docstringed_task ______________

self = <base.autodoc_ object at 0x7f50eef338a0>

def base_case_of_no_argument_docstringed_task(self):
    for sentinel in ("base_case", "smallest possible task"):
      assert sentinel in self.api_docs

E assert 'base_case' in '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' E + where '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' = <base.autodoc_ object at 0x7f50eef338a0>.api_docs

tests/autodoc/base.py:65: AssertionError _________________ autodoc_.simple_case_of_single_argument_task _________________

self = <base.autodoc_ object at 0x7f50eecca850>

def simple_case_of_single_argument_task(self):
    # TODO: OK we really need something that scales better soon re:
    # viewing the output as a non-HTML string / something that is not
    # super tied to sphinx/theme output...heh
    for sentinel in ("simple_case", "simple_arg", "Parameterization!"):
      assert sentinel in self.api_docs

E assert 'simple_case' in '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' E + where '\n\n\n \n \n <meta name="v... href="_sources/api.rst.txt"\n rel="nofollow">Page source\n \n\n \n\n \n \n' = <base.autodoc_ object at 0x7f50eecca850>.api_docs

tests/autodoc/base.py:72: AssertionError =============================== warnings summary =============================== tests/packaging/release.py: 125 warnings /usr/lib/python3/dist-packages/releases/init.py:174: RemovedInSphinx11Warning: 'sphinx.environment.BuildEnvironment.app' is deprecated. Check CHANGES for Sphinx API modifications. config = inliner.document.settings.env.app.config

tests/packaging/release.py: 52 warnings /usr/lib/python3/dist-packages/releases/init.py:81: RemovedInSphinx11Warning: 'sphinx.environment.BuildEnvironment.app' is deprecated. Check CHANGES for Sphinx API modifications. config = inliner.document.settings.env.app.config

tests/packaging/release.py: 52 warnings /usr/lib/python3/dist-packages/releases/models.py:113: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead. return Spec(specstr) if specstr else Spec("*")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/autodoc/base.py::autodoc_::base_case_of_no_argument_docstringed_task FAILED tests/autodoc/base.py::autodoc_::simple_case_of_single_argument_task ===== 2 failed, 158 passed, 8 skipped, 6 deselected, 229 warnings in 3.81s ===== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k 'not component_state_enums_contain_human_readable_values' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2


Message sent onto Santiago Vila <sanvila@debian.org>:
Bug#1135454. (Thu, 21 May 2026 13:31:01 GMT) (full text, mbox, link).


Message #8 received at 1135454-submitter@bugs.debian.org (full text, mbox, reply):

Control: tag -1 pending

Hello,

Bug #1135454 in python-invocations 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/python-invocations/-/commit/0b1e5a7d023f27867ad31513fe531e3223f391f9


Adjust to cope with Sphinx 9

Closes: #1135454

(this message was generated automatically)

Greetings

https://bugs.debian.org/1135454


**Added tag(s) pending.**Request was from Colin Watson <noreply@salsa.debian.org>to 1135454-submitter@bugs.debian.org. (Thu, 21 May 2026 13:31:01 GMT) (full text, mbox, link).


Reply sentto Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Thu, 21 May 2026 13:51:01 GMT) (full text, mbox, link).


Notification sentto Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 21 May 2026 13:51:01 GMT) (full text, mbox, link).


Message #15 received at 1135454-close@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Source: python-invocations Source-Version: 4.0.2-3 Done: Colin Watson cjwatson@debian.org

We believe that the bug you reported is fixed in the latest version of python-invocations, 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 1135454@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software pp. Colin Watson cjwatson@debian.org (supplier of updated python-invocations 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)

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

Format: 1.8 Date: Thu, 21 May 2026 14:27:43 +0100 Source: python-invocations Architecture: source Version: 4.0.2-3 Distribution: unstable Urgency: medium Maintainer: Debian Python Team team+python@tracker.debian.org Changed-By: Colin Watson cjwatson@debian.org Closes: 1135454 Changes: python-invocations (4.0.2-3) unstable; urgency=medium .

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmoPCN4ACgkQYG0ITkaD wHnwMg//eIjaWXb3mY8eTiASsAleEFCgUOdKorDk8bpHZyK8p3PfnwMPuhR6HOBp 4HRLaKmQLW0XgNimg9Lg8mvdhInXFsIJHNBZAJCcpa1/oNwq9VX6bdvUGztV5A0g +u2ON/bFRqLo9bqQvqnLFm7DKKUGuUr68dAwx5hWQ5fZFYZ70+FAl+8ckwu2r1h4 m63CT2AkgvTzNiYS8/LKHJ3yiQ8xu+OgzVuzF8vxhEWSsJT51m09sXIkaDRp/cp7 0imw801wqNQgc2Pag5vJnnDEcVmhcHWXE9Tj+2rRkkqBtIeaLNeqJcYLbCHt9I6x XnLEHiAKPmw1xsObnokyzcTTLXTccFapOtCLw7EcOM34FYs8F/V6OQ3NlFibYKiG TsjZQA3bvdhn65YOoM32qSy06a3nIF6ezdZYXEAfn9QZo7VNPYW8vO0WT1EIonq/ pYSpuvjSPXaqqY8fP+wEWXxSYmpQxIhktvvuEUtNVP12I+oLP8jL/TP2eYDnwSd0 cpk9pGYeJo2foCh8+O0OdK+w3yK7agu/Ygmluzto8aoO3MD7bamNs44vH8sDkPdr nX2Oe0p86/KueAG0Koe+lgAs6IGTjalW6EU0gCmMU6UhTEizBbTejwg711mbHHBe 1jXj/vj0XkXYuAiYyEQCYIXrjujJcmYf5fJ6o/+DFIYV5mPt2gY= =zlAD -----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Wed Jun 17 16:12:28 2026; Machine Name:bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.