Your message dated Sat, 27 Dec 2025 15:19:49 +0000
with message-id <[email protected]>
and subject line Bug#1123132: fixed in docstring-parser 0.17.0-1
has caused the Debian Bug report #1123132,
regarding docstring-parser: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
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.)


-- 
1123132: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123132
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:docstring-parser
Version: 0.16-1
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/202512/

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:docstring-parser, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --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:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_docstring-parser  
* Building wheel...
The "poetry.dev-dependencies" section is deprecated and will be removed in a 
future version. Use "poetry.group.dev.dependencies" instead.
Successfully built docstring_parser-0.16-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_docstring-parser  
* Building wheel...
The "poetry.dev-dependencies" section is deprecated and will be removed in a 
future version. Use "poetry.group.dev.dependencies" instead.
Successfully built docstring_parser-0.16-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_docstring-parser/build; python3.14 -m 
pytest 
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_docstring-parser/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 218 items

docstring_parser/tests/test_epydoc.py .................................. [ 15%]
...................                                                      [ 24%]
docstring_parser/tests/test_google.py .................................. [ 39%]
......................                                                   [ 50%]
docstring_parser/tests/test_numpydoc.py ................................ [ 64%]
....................................                                     [ 81%]
docstring_parser/tests/test_parse_from_object.py FFF..                   [ 83%]
docstring_parser/tests/test_parser.py ....                               [ 85%]
docstring_parser/tests/test_rest.py ...............................      [ 99%]
docstring_parser/tests/test_util.py .                                    [100%]

=================================== FAILURES ===================================
____________________ test_from_module_attribute_docstrings _____________________

    def test_from_module_attribute_docstrings() -> None:
        """Test the parse of attribute docstrings from a module."""
        from . import test_parse_from_object  # pylint: disable=C0415,W0406
    
>       docstring = parse_from_object(test_parse_from_object)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docstring_parser/tests/test_parse_from_object.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
docstring_parser/parser.py:75: in parse_from_object
    add_attribute_docstrings(obj, docstring)
docstring_parser/attrdoc.py:127: in add_attribute_docstrings
    AttributeDocstrings().get_attr_docs(obj).items()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
docstring_parser/attrdoc.py:108: in get_attr_docs
    self.visit(tree)
docstring_parser/attrdoc.py:88: in visit
    self.generic_visit(node)
/usr/lib/python3.14/ast.py:514: in generic_visit
    self.visit(item)
docstring_parser/attrdoc.py:79: in visit
    if self.prev_attr and ast_is_literal_str(node):
                          ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

node = Expr(value=Constant(value='Description for module_attr', kind=None))

    def ast_is_literal_str(node: ast.AST) -> bool:
        """Return True if the given node is a literal string."""
        return (
            isinstance(node, ast.Expr)
>           and isinstance(node.value, (ast.Constant, ast.Str))
                                                      ^^^^^^^
            and isinstance(ast_get_constant_value(node.value), str)
        )
E       AttributeError: module 'ast' has no attribute 'Str'

docstring_parser/attrdoc.py:48: AttributeError
_____________________ test_from_class_attribute_docstrings _____________________

    def test_from_class_attribute_docstrings() -> None:
        """Test the parse of attribute docstrings from a class."""
    
        class StandardCase:
            """Short description
            Long description
            """
    
            attr_one: str
            """Description for attr_one"""
            attr_two: bool = False
            """Description for attr_two"""
    
>       docstring = parse_from_object(StandardCase)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docstring_parser/tests/test_parse_from_object.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
docstring_parser/parser.py:75: in parse_from_object
    add_attribute_docstrings(obj, docstring)
docstring_parser/attrdoc.py:127: in add_attribute_docstrings
    AttributeDocstrings().get_attr_docs(obj).items()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
docstring_parser/attrdoc.py:112: in get_attr_docs
    self.visit(tree.body[0])
docstring_parser/attrdoc.py:88: in visit
    self.generic_visit(node)
/usr/lib/python3.14/ast.py:514: in generic_visit
    self.visit(item)
docstring_parser/attrdoc.py:79: in visit
    if self.prev_attr and ast_is_literal_str(node):
                          ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

node = Expr(value=Constant(value='Description for attr_one', kind=None))

    def ast_is_literal_str(node: ast.AST) -> bool:
        """Return True if the given node is a literal string."""
        return (
            isinstance(node, ast.Expr)
>           and isinstance(node.value, (ast.Constant, ast.Str))
                                                      ^^^^^^^
            and isinstance(ast_get_constant_value(node.value), str)
        )
E       AttributeError: module 'ast' has no attribute 'Str'

docstring_parser/attrdoc.py:48: AttributeError
______________ test_from_class_attribute_docstrings_without_type _______________

    def test_from_class_attribute_docstrings_without_type() -> None:
        """Test the parse of untyped attribute docstrings."""
    
        class WithoutType:  # pylint: disable=missing-class-docstring
            attr_one = "value"
            """Description for attr_one"""
    
>       docstring = parse_from_object(WithoutType)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docstring_parser/tests/test_parse_from_object.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
docstring_parser/parser.py:75: in parse_from_object
    add_attribute_docstrings(obj, docstring)
docstring_parser/attrdoc.py:127: in add_attribute_docstrings
    AttributeDocstrings().get_attr_docs(obj).items()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
docstring_parser/attrdoc.py:112: in get_attr_docs
    self.visit(tree.body[0])
docstring_parser/attrdoc.py:88: in visit
    self.generic_visit(node)
/usr/lib/python3.14/ast.py:514: in generic_visit
    self.visit(item)
docstring_parser/attrdoc.py:79: in visit
    if self.prev_attr and ast_is_literal_str(node):
                          ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

node = Expr(value=Constant(value='Description for attr_one', kind=None))

    def ast_is_literal_str(node: ast.AST) -> bool:
        """Return True if the given node is a literal string."""
        return (
            isinstance(node, ast.Expr)
>           and isinstance(node.value, (ast.Constant, ast.Str))
                                                      ^^^^^^^
            and isinstance(ast_get_constant_value(node.value), str)
        )
E       AttributeError: module 'ast' has no attribute 'Str'

docstring_parser/attrdoc.py:48: AttributeError
=========================== short test summary info ============================
FAILED 
docstring_parser/tests/test_parse_from_object.py::test_from_module_attribute_docstrings
FAILED 
docstring_parser/tests/test_parse_from_object.py::test_from_class_attribute_docstrings
FAILED 
docstring_parser/tests/test_parse_from_object.py::test_from_class_attribute_docstrings_without_type
======================== 3 failed, 215 passed in 0.33s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_docstring-parser/build; python3.14 -m 
pytest 
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_docstring-parser/build; python3.13 -m 
pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_docstring-parser/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 218 items

docstring_parser/tests/test_epydoc.py .................................. [ 15%]
...................                                                      [ 24%]
docstring_parser/tests/test_google.py .................................. [ 39%]
......................                                                   [ 50%]
docstring_parser/tests/test_numpydoc.py ................................ [ 64%]
....................................                                     [ 81%]
docstring_parser/tests/test_parse_from_object.py .....                   [ 83%]
docstring_parser/tests/test_parser.py ....                               [ 85%]
docstring_parser/tests/test_rest.py ...............................      [ 99%]
docstring_parser/tests/test_util.py .                                    [100%]

=============================== warnings summary ===============================
docstring_parser/tests/test_parse_from_object.py::test_from_module_attribute_docstrings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_docstring-parser/build/docstring_parser/attrdoc.py:48:
 DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; 
use ast.Constant instead
    and isinstance(node.value, (ast.Constant, ast.Str))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 218 passed, 1 warning in 0.29s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: docstring-parser
Source-Version: 0.17.0-1
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
docstring-parser, 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.
Roland Mas <[email protected]> (supplier of updated docstring-parser 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: Sat, 27 Dec 2025 15:59:25 +0100
Source: docstring-parser
Architecture: source
Version: 0.17.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1123132
Changes:
 docstring-parser (0.17.0-1) unstable; urgency=medium
 .
   * New upstream release, which fixes Python 3.14 compatibility (closes: 
#1123132).
   * Update Build-Depends.
Checksums-Sha1:
 79d65a504f2763f64fce548b837172cafe3484d9 2263 docstring-parser_0.17.0-1.dsc
 6a3ace364251dedbe65ab34bf50aec2e06a03db8 27926 
docstring-parser_0.17.0.orig.tar.gz
 59ff716dbef6981b70a087780168888452fedb49 2236 
docstring-parser_0.17.0-1.debian.tar.xz
 39be0b5336e114c5cdb4eb916fb534818c077013 7173 
docstring-parser_0.17.0-1_amd64.buildinfo
Checksums-Sha256:
 78d7d3de2a2a831d930e3dd884af6c10032ed8d66364a077376e69f91c43ae9e 2263 
docstring-parser_0.17.0-1.dsc
 b45774fae6298c40851e8cfa459c2d630683f47730209adc90963c1aaa181f9b 27926 
docstring-parser_0.17.0.orig.tar.gz
 df163ed5142c711c6d60ac1fc10328ba097e4ba57ce7795d1ab203f64fb1b4e0 2236 
docstring-parser_0.17.0-1.debian.tar.xz
 022f737f40c669af8706d6f747814796e1ba344efb22575f856410c310920e99 7173 
docstring-parser_0.17.0-1_amd64.buildinfo
Files:
 595a4210ccdf804022d278959928547d 2263 python optional 
docstring-parser_0.17.0-1.dsc
 12a64f34e07fe4d762c17129b466591c 27926 python optional 
docstring-parser_0.17.0.orig.tar.gz
 010bfd9eaca99a31f785a2b0337d7b9f 2236 python optional 
docstring-parser_0.17.0-1.debian.tar.xz
 b1e6405ed1ca0c8966be5d0ca16ea450 7173 python optional 
docstring-parser_0.17.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmlP9OwACgkQ0w3s0lmT
IvyyDQ//UZi2AbTEC6ilAIDtUmDKj3gp4EEBbMC2It8/Ppt33UQ0QHXaOMywawcB
VV4HdoziyKII3aPPMx8fVBckQfLknfF/5g92vZsOb1qbQ3IlL18Iof/OrcpvPhtV
ZaqBtUp7A4PLtsDwcmG69GCPrRW1Q2do4lpQ/NvdYnb40BFzDWn7JeKYDVRog1/t
lY9zwg8gQEGpn9h61FRKNweI3EF2cqczkfy4/M2xFoh55TZe9QYegKoNBHq9IPXG
6Bvc22JjQC2BNfd+KIixsv7RnHfIV73tGGUkuCvfdizEb3JlOwa2PPO3DwDCh3V9
3wflfr0VYbhxsiMlfH3GuEFl2AK8pXehDyGOR+iGMN+pieuMG4rTvS8cbQ/LBm16
ARoT3dcJQ7TkxfuNRwHm/G6JmWmxri+2HlhzfVj04j+WymzzBPtwTDZFdOx0QvCB
iF6mLeZXsdf6uCK2A9g4hlKhzKWvrRGnFJ8bTtuImkaH9sfqrcDzojRqkpMMTuso
bDNPN3AjI/dKuzheu1drjt9ukzLA/ZeqPXjM9KKteTWTGZEvAe8bF38UxVuOG+HK
pxnpMoZU40mcR0mN0BFDe+qN/cjSgJPC35jxDXyR5i7eSHjM4YTiI2J20x4CSWjj
rnC0OfVjzFLZHxsZMnDq+gDIh30fE0YXjY/ojUkAtZfqnB6SqCc=
=hcqv
-----END PGP SIGNATURE-----

Attachment: pgpwJNq0H6SBr.pgp
Description: PGP signature


--- End Message ---

Reply via email to