Your message dated Fri, 26 Jan 2024 19:22:28 +0100
with message-id <acf038fc-bd32-4b2d-91a9-d7240a95f...@yahoo.it>
and subject line Re: numpydoc's autopkg tests fail with Python 3.12
has caused the Debian Bug report #1056431,
regarding numpydoc: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p "3.12 3.11" 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 ow...@bugs.debian.org
immediately.)


-- 
1056431: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056431
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: numpydoc
Version: 1.5.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/numpydoc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/validate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/docscrape_sphinx.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/docscrape.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> copying numpydoc/xref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_validate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_full.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_main.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_numpydoc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_xref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_docscrape.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/Makefile -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/index.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/numpydoc_test_module.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/tinybuild
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/templates
> copying numpydoc/templates/numpydoc_docstring.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/templates
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/numpydoc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/validate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/docscrape_sphinx.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/docscrape.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> copying numpydoc/xref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_validate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_full.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_main.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_numpydoc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_xref.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> copying numpydoc/tests/test_docscrape.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/Makefile -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/index.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/numpydoc_test_module.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests/tinybuild
> copying numpydoc/tests/tinybuild/conf.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/tests/tinybuild
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/templates
> copying numpydoc/templates/numpydoc_docstring.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/numpydoc/templates
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build; python3.12 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 243 items
> 
> numpydoc/numpydoc.py .                                                   [  
> 0%]
> numpydoc/validate.py .                                                   [  
> 0%]
> numpydoc/tests/test_docscrape.py ....................................... [ 
> 16%]
> .....................                                                    [ 
> 25%]
> numpydoc/tests/test_full.py .....                                        [ 
> 27%]
> numpydoc/tests/test_main.py .......                                      [ 
> 30%]
> numpydoc/tests/test_numpydoc.py .........                                [ 
> 34%]
> numpydoc/tests/test_validate.py ........................................ [ 
> 50%]
> .........................................xF.x............                [ 
> 74%]
> numpydoc/tests/test_xref.py ............................................ [ 
> 92%]
> ...................                                                      
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __ TestValidator.test_bad_docstrings[BadReturns-return_not_documented-msgs31] 
> __
> 
> self = <test_validate.TestValidator object at 0x7f56c36e99a0>
> capsys = <_pytest.capture.CaptureFixture object at 0x7f56c1c5ce00>
> klass = 'BadReturns', func = 'return_not_documented'
> msgs = ('No Returns section found',)
> 
>     @pytest.mark.parametrize(
>         "klass,func,msgs",
>         [
>             # See Also tests
>             (
>                 "BadGenericDocStrings",
>                 "unknown_section",
>                 ('Found unknown section "Unknown Section".',),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "sections_in_wrong_order",
>                 (
>                     "Sections are in the wrong order. Correct order is: 
> Parameters, "
>                     "See Also, Examples",
>                 ),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "deprecation_in_wrong_order",
>                 ("Deprecation warning should precede extended summary",),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "directives_without_two_colons",
>                 (
>                     "reST directives ['versionchanged', 'versionadded', "
>                     "'deprecated'] must be followed by two colons",
>                 ),
>             ),
>             (
>                 "BadSeeAlso",
>                 "no_desc",
>                 ('Missing description for See Also "Series.tail" reference',),
>             ),
>             (
>                 "BadSeeAlso",
>                 "desc_no_period",
>                 ('Missing period at end of description for See Also 
> "Series.iloc"',),
>             ),
>             (
>                 "BadSeeAlso",
>                 "desc_first_letter_lowercase",
>                 ('should be capitalized for See Also "Series.tail"',),
>             ),
>             # Summary tests
>             (
>                 "BadSummaries",
>                 "no_summary",
>                 ("No summary found",),
>             ),
>             (
>                 "BadSummaries",
>                 "heading_whitespaces",
>                 ("Summary contains heading whitespaces",),
>             ),
>             (
>                 "BadSummaries",
>                 "wrong_line",
>                 (
>                     "should start in the line immediately after the opening 
> quotes",
>                     "should be placed in the line after the last text",
>                 ),
>             ),
>             ("BadSummaries", "no_punctuation", ("Summary does not end with a 
> period",)),
>             (
>                 "BadSummaries",
>                 "no_capitalization",
>                 ("Summary does not start with a capital letter",),
>             ),
>             (
>                 "BadSummaries",
>                 "no_capitalization",
>                 ("Summary must start with infinitive verb",),
>             ),
>             ("BadSummaries", "multi_line", ("Summary should fit in a single 
> line",)),
>             (
>                 "BadSummaries",
>                 "two_paragraph_multi_line",
>                 ("Summary should fit in a single line",),
>             ),
>             # Parameters tests
>             (
>                 "BadParameters",
>                 "no_type",
>                 ('Parameter "value" has no type',),
>             ),
>             (
>                 "BadParameters",
>                 "type_with_period",
>                 ('Parameter "value" type should not finish with "."',),
>             ),
>             (
>                 "BadParameters",
>                 "no_description",
>                 ('Parameter "value" has no description',),
>             ),
>             (
>                 "BadParameters",
>                 "missing_params",
>                 ("Parameters {'**kwargs'} not documented",),
>             ),
>             (
>                 "BadParameters",
>                 "bad_colon_spacing",
>                 (
>                     'Parameter "kind" requires a space before the colon '
>                     "separating the parameter name and type",
>                 ),
>             ),
>             (
>                 "BadParameters",
>                 "no_description_period",
>                 ('Parameter "kind" description should finish with "."',),
>             ),
>             (
>                 "BadParameters",
>                 "no_description_period_with_directive",
>                 ('Parameter "kind" description should finish with "."',),
>             ),
>             (
>                 "BadParameters",
>                 "parameter_capitalization",
>                 ('Parameter "kind" description should start with a capital 
> letter',),
>             ),
>             (
>                 "BadParameters",
>                 "integer_parameter",
>                 ('Parameter "kind" type should use "int" instead of 
> "integer"',),
>             ),
>             (
>                 "BadParameters",
>                 "string_parameter",
>                 ('Parameter "kind" type should use "str" instead of 
> "string"',),
>             ),
>             (
>                 "BadParameters",
>                 "boolean_parameter",
>                 ('Parameter "kind" type should use "bool" instead of 
> "boolean"',),
>             ),
>             (
>                 "BadParameters",
>                 "list_incorrect_parameter_type",
>                 ('Parameter "kind" type should use "bool" instead of 
> "boolean"',),
>             ),
>             (
>                 "BadParameters",
>                 "list_incorrect_parameter_type",
>                 ('Parameter "kind" type should use "int" instead of 
> "integer"',),
>             ),
>             (
>                 "BadParameters",
>                 "list_incorrect_parameter_type",
>                 ('Parameter "kind" type should use "str" instead of 
> "string"',),
>             ),
>             (
>                 "BadParameters",
>                 "bad_parameter_spacing",
>                 ("Parameters {'b'} not documented", "Unknown parameters {' 
> b'}"),
>             ),
>             pytest.param(
>                 "BadParameters",
>                 "blank_lines",
>                 ("No error yet?",),
>                 marks=pytest.mark.xfail,
>             ),
>             # Returns tests
>             ("BadReturns", "return_not_documented", ("No Returns section 
> found",)),
>             ("BadReturns", "yield_not_documented", ("No Yields section 
> found",)),
>             pytest.param("BadReturns", "no_type", ("foo",), 
> marks=pytest.mark.xfail),
>             ("BadReturns", "no_description", ("Return value has no 
> description",)),
>             (
>                 "BadReturns",
>                 "no_punctuation",
>                 ('Return value description should finish with "."',),
>             ),
>             (
>                 "BadReturns",
>                 "named_single_return",
>                 (
>                     "The first line of the Returns section should contain 
> only the "
>                     "type, unless multiple values are being returned",
>                 ),
>             ),
>             (
>                 "BadReturns",
>                 "no_capitalization",
>                 ("Return value description should start with a capital 
> letter",),
>             ),
>             (
>                 "BadReturns",
>                 "no_period_multi",
>                 ('Return value description should finish with "."',),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "method_wo_docstrings",
>                 ("The object does not have a docstring",),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "two_linebreaks_between_sections",
>                 (
>                     "Double line break found; please use only one blank line 
> to "
>                     "separate sections or paragraphs, and do not leave blank 
> lines "
>                     "at the end of docstrings",
>                 ),
>             ),
>             (
>                 "BadGenericDocStrings",
>                 "linebreak_at_end_of_docstring",
>                 (
>                     "Double line break found; please use only one blank line 
> to "
>                     "separate sections or paragraphs, and do not leave blank 
> lines "
>                     "at the end of docstrings",
>                 ),
>             ),
>         ],
>     )
>     def test_bad_docstrings(self, capsys, klass, func, msgs):
>         with warnings.catch_warnings(record=True) as w:
>             result = validate_one(self._import_path(klass=klass, func=func))
>         if len(w):
> >           assert all("Unknown section" in str(ww.message) for ww in w)
> E           assert False
> E            +  where False = all(<generator object 
> TestValidator.test_bad_docstrings.<locals>.<genexpr> at 0x7f56c1c6dee0>)
> 
> capsys     = <_pytest.capture.CaptureFixture object at 0x7f56c1c5ce00>
> func       = 'return_not_documented'
> klass      = 'BadReturns'
> msgs       = ('No Returns section found',)
> result     = {'deprecated': False, 'docstring': 'Lacks section for Returns', 
> 'errors': [('SS03', 'Summary does not end with a perio...e': 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/test_validate.py',
>  ...}
> self       = <test_validate.TestValidator object at 0x7f56c36e99a0>
> w          = [<warnings.WarningMessage object at 0x7f56c1c5d8b0>]
> 
> numpydoc/tests/test_validate.py:1417: AssertionError
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
> DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> .pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/test_validate.py::TestValidator::test_good_functions[empty_returns]
> .pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/test_validate.py::TestValidator::test_good_functions[empty_returns]
> .pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/test_validate.py::TestValidator::test_good_functions[empty_returns]
> .pybuild/cpython3_3.12_numpydoc/build/numpydoc/tests/test_validate.py::TestValidator::test_bad_generic_functions[func]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/numpydoc/validate.py:419:
>  DeprecationWarning: ast.NameConstant is deprecated and will be removed in 
> Python 3.14; use ast.Constant instead
>     if isinstance(v, ast.NameConstant) and v.value is None:
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> - generated xml file: 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build/junit-results.xml -
> =========================== short test summary info 
> ============================
> XFAIL 
> numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30]
> XFAIL 
> numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33]
> FAILED 
> numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-return_not_documented-msgs31]
> ============= 1 failed, 240 passed, 2 xfailed, 5 warnings in 9.12s 
> =============
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpydoc/build; python3.12 -m pytest 
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build; python3.11 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 243 items
> 
> numpydoc/numpydoc.py .                                                   [  
> 0%]
> numpydoc/validate.py .                                                   [  
> 0%]
> numpydoc/tests/test_docscrape.py ....................................... [ 
> 16%]
> .....................                                                    [ 
> 25%]
> numpydoc/tests/test_full.py .....                                        [ 
> 27%]
> numpydoc/tests/test_main.py .......                                      [ 
> 30%]
> numpydoc/tests/test_numpydoc.py .........                                [ 
> 34%]
> numpydoc/tests/test_validate.py ........................................ [ 
> 50%]
> .........................................x..x............                [ 
> 74%]
> numpydoc/tests/test_xref.py ............................................ [ 
> 92%]
> ...................                                                      
> [100%]
> 
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
> DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> - generated xml file: 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpydoc/build/junit-results.xml -
> =========================== short test summary info 
> ============================
> XFAIL 
> numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30]
> XFAIL 
> numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33]
> ================== 241 passed, 2 xfailed, 1 warning in 2.66s 
> ===================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/numpydoc_1.5.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Version: 1.6.0-1

I just noticed https://bugs.debian.org/1061229
Sorry for the reopening.

Kind Regards

--- End Message ---

Reply via email to