Your message dated Mon, 15 Jan 2024 14:35:21 +0000
with message-id <e1rpo3d-005ya2...@fasolo.debian.org>
and subject line Bug#1056431: fixed in numpydoc 1.6.0-1
has caused the Debian Bug report #1056431,
regarding numpydoc's autopkg tests fail with Python 3.12
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 ---
Package: src:numpydoc
Version: 1.5.0-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

numpydoc's autopkg tests fail with Python 3.12:

[...]
393s Testing with python3.12:
394s ============================= test session starts ==============================
394s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
394s rootdir: /tmp/autopkgtest.wwyJzK/autopkgtest_tmp
394s plugins: cov-4.1.0
394s collected 217 items
394s
394s tests/test_docscrape.py ................................................ [ 22%] 394s ............ [ 27%] 395s tests/test_full.py ..... [ 29%] 395s tests/test_main.py ...... [ 32%] 395s tests/test_numpydoc.py ......... [ 36%] 395s tests/test_validate.py ................................................. [ 59%] 395s .........xF.x............ [ 70%] 395s tests/test_xref.py ..................................................... [ 95%] 395s .......... [100%]
395s
395s =================================== FAILURES =================================== 395s __ TestValidator.test_bad_docstrings[BadReturns-return_not_documented-msgs31] __
395s
395s self = <test_validate.TestValidator object at 0x7f30b2a605f0>
395s capsys = <_pytest.capture.CaptureFixture object at 0x7f30b1111b20>
395s klass = 'BadReturns', func = 'return_not_documented'
395s msgs = ('No Returns section found',)
395s
395s     @pytest.mark.parametrize(
395s         "klass,func,msgs",
395s         [
395s             # See Also tests
395s             (
395s                 "BadGenericDocStrings",
395s                 "unknown_section",
395s                 ('Found unknown section "Unknown Section".',),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "sections_in_wrong_order",
395s                 (
395s "Sections are in the wrong order. Correct order is: Parameters, "
395s                     "See Also, Examples",
395s                 ),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "deprecation_in_wrong_order",
395s ("Deprecation warning should precede extended summary",),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "directives_without_two_colons",
395s                 (
395s "reST directives ['versionchanged', 'versionadded', "
395s                     "'deprecated'] must be followed by two colons",
395s                 ),
395s             ),
395s             (
395s                 "BadSeeAlso",
395s                 "no_desc",
395s ('Missing description for See Also "Series.tail" reference',),
395s             ),
395s             (
395s                 "BadSeeAlso",
395s                 "desc_no_period",
395s ('Missing period at end of description for See Also "Series.iloc"',),
395s             ),
395s             (
395s                 "BadSeeAlso",
395s                 "desc_first_letter_lowercase",
395s                 ('should be capitalized for See Also "Series.tail"',),
395s             ),
395s             # Summary tests
395s             (
395s                 "BadSummaries",
395s                 "no_summary",
395s                 ("No summary found",),
395s             ),
395s             (
395s                 "BadSummaries",
395s                 "heading_whitespaces",
395s                 ("Summary contains heading whitespaces",),
395s             ),
395s             (
395s                 "BadSummaries",
395s                 "wrong_line",
395s                 (
395s "should start in the line immediately after the opening quotes",
395s                     "should be placed in the line after the last text",
395s                 ),
395s             ),
395s ("BadSummaries", "no_punctuation", ("Summary does not end with a period",)),
395s             (
395s                 "BadSummaries",
395s                 "no_capitalization",
395s                 ("Summary does not start with a capital letter",),
395s             ),
395s             (
395s                 "BadSummaries",
395s                 "no_capitalization",
395s                 ("Summary must start with infinitive verb",),
395s             ),
395s ("BadSummaries", "multi_line", ("Summary should fit in a single line",)),
395s             (
395s                 "BadSummaries",
395s                 "two_paragraph_multi_line",
395s                 ("Summary should fit in a single line",),
395s             ),
395s             # Parameters tests
395s             (
395s                 "BadParameters",
395s                 "no_type",
395s                 ('Parameter "value" has no type',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "type_with_period",
395s                 ('Parameter "value" type should not finish with "."',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "no_description",
395s                 ('Parameter "value" has no description',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "missing_params",
395s                 ("Parameters {'**kwargs'} not documented",),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "bad_colon_spacing",
395s                 (
395s 'Parameter "kind" requires a space before the colon '
395s                     "separating the parameter name and type",
395s                 ),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "no_description_period",
395s ('Parameter "kind" description should finish with "."',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "no_description_period_with_directive",
395s ('Parameter "kind" description should finish with "."',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "parameter_capitalization",
395s ('Parameter "kind" description should start with a capital letter',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "integer_parameter",
395s ('Parameter "kind" type should use "int" instead of "integer"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "string_parameter",
395s ('Parameter "kind" type should use "str" instead of "string"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "boolean_parameter",
395s ('Parameter "kind" type should use "bool" instead of "boolean"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "list_incorrect_parameter_type",
395s ('Parameter "kind" type should use "bool" instead of "boolean"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "list_incorrect_parameter_type",
395s ('Parameter "kind" type should use "int" instead of "integer"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "list_incorrect_parameter_type",
395s ('Parameter "kind" type should use "str" instead of "string"',),
395s             ),
395s             (
395s                 "BadParameters",
395s                 "bad_parameter_spacing",
395s ("Parameters {'b'} not documented", "Unknown parameters {' b'}"),
395s             ),
395s             pytest.param(
395s                 "BadParameters",
395s                 "blank_lines",
395s                 ("No error yet?",),
395s                 marks=pytest.mark.xfail,
395s             ),
395s             # Returns tests
395s ("BadReturns", "return_not_documented", ("No Returns section found",)), 395s ("BadReturns", "yield_not_documented", ("No Yields section found",)), 395s pytest.param("BadReturns", "no_type", ("foo",), marks=pytest.mark.xfail), 395s ("BadReturns", "no_description", ("Return value has no description",)),
395s             (
395s                 "BadReturns",
395s                 "no_punctuation",
395s                 ('Return value description should finish with "."',),
395s             ),
395s             (
395s                 "BadReturns",
395s                 "named_single_return",
395s                 (
395s "The first line of the Returns section should contain only the "
395s                     "type, unless multiple values are being returned",
395s                 ),
395s             ),
395s             (
395s                 "BadReturns",
395s                 "no_capitalization",
395s ("Return value description should start with a capital letter",),
395s             ),
395s             (
395s                 "BadReturns",
395s                 "no_period_multi",
395s                 ('Return value description should finish with "."',),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "method_wo_docstrings",
395s                 ("The object does not have a docstring",),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "two_linebreaks_between_sections",
395s                 (
395s "Double line break found; please use only one blank line to " 395s "separate sections or paragraphs, and do not leave blank lines "
395s                     "at the end of docstrings",
395s                 ),
395s             ),
395s             (
395s                 "BadGenericDocStrings",
395s                 "linebreak_at_end_of_docstring",
395s                 (
395s "Double line break found; please use only one blank line to " 395s "separate sections or paragraphs, and do not leave blank lines "
395s                     "at the end of docstrings",
395s                 ),
395s             ),
395s         ],
395s     )
395s     def test_bad_docstrings(self, capsys, klass, func, msgs):
395s         with warnings.catch_warnings(record=True) as w:
395s result = validate_one(self._import_path(klass=klass, func=func))
395s         if len(w):
395s > assert all("Unknown section" in str(ww.message) for ww in w)
395s E           assert False
395s E + where False = all(<generator object TestValidator.test_bad_docstrings.<locals>.<genexpr> at 0x7f30b10c3760>)
395s
395s /usr/lib/python3/dist-packages/numpydoc/tests/test_validate.py:1417: AssertionError 395s =============================== warnings summary ===============================
395s ../../../usr/lib/python3/dist-packages/pytz/__init__.py:30
395s /usr/lib/python3/dist-packages/pytz/__init__.py:30: SyntaxWarning: invalid escape sequence '\s'
395s     match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
395s
395s ../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
395s /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
395s     from cgi import parse_header
395s
395s tests/test_validate.py::TestValidator::test_good_functions[empty_returns] 395s tests/test_validate.py::TestValidator::test_good_functions[empty_returns] 395s tests/test_validate.py::TestValidator::test_good_functions[empty_returns]
395s tests/test_validate.py::TestValidator::test_bad_generic_functions[func]
395s /usr/lib/python3/dist-packages/numpydoc/validate.py:419: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
395s     if isinstance(v, ast.NameConstant) and v.value is None:
395s
395s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
395s =========================== short test summary info ============================ 395s FAILED tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-return_not_documented-msgs31] 395s ============= 1 failed, 214 passed, 2 xfailed, 6 warnings in 1.88s =============
--- End Message ---
--- Begin Message ---
Source: numpydoc
Source-Version: 1.6.0-1
Done: Chiara Marmo <marmochia...@gmail.com>

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

Debian distribution maintenance software
pp.
Chiara Marmo <marmochia...@gmail.com> (supplier of updated numpydoc 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 15 Jan 2024 13:40:04 +0000
Source: numpydoc
Built-For-Profiles: noudeb
Architecture: source
Version: 1.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Chiara Marmo <marmochia...@gmail.com>
Closes: 1056431
Changes:
 numpydoc (1.6.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * Switch to a pyproject only build.
   * Patch DeprecationWarning with 3.12, (Closes: #1056431).
Checksums-Sha1:
 fa1c20258f430a3542b6c0f20a09ded64a8e5642 2302 numpydoc_1.6.0-1.dsc
 df1747d7971e30726e9a88c393746ab3533e3b7d 85475 numpydoc_1.6.0.orig.tar.gz
 1eb1c319a5073b69a699e1c40ccc34d676fa7917 4932 numpydoc_1.6.0-1.debian.tar.xz
Checksums-Sha256:
 eb99443debae244bd6d7abee7016f8168423ddae599b196397695df843351c62 2302 
numpydoc_1.6.0-1.dsc
 ae7a5380f0a06373c3afe16ccd15bd79bc6b07f2704cbc6f1e7ecc94b4f5fc0d 85475 
numpydoc_1.6.0.orig.tar.gz
 fc8f70da2a12193024b878cd5e534ab7d1c4d924a2856bac5a84ec8e51afa1c9 4932 
numpydoc_1.6.0-1.debian.tar.xz
Files:
 9f818689ef52715a30b679192e4fba7d 2302 python optional numpydoc_1.6.0-1.dsc
 227e5a257f4bfe488a257d963c2df5bc 85475 python optional 
numpydoc_1.6.0.orig.tar.gz
 f2d88f5899db4e0276bc8c8014e8ca36 4932 python optional 
numpydoc_1.6.0-1.debian.tar.xz

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

iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmWlN0MACgkQr8/sjmac
4cLORRAAheZRP40hMlKNIiWR+V98mRAI5p0p97imv21USW2sgBZJ3TkL2FHYfzwz
zhA+8BugFMO0Ij0wmF+dcD9ChU68MDrzoATcRj+IVK25f000sgQN1XsyuJ/7Pjlc
HILUtblb8C43KRsNcQvYp9EjIesxUAQEUJMFmsNxneN7pjbcCq1qTYzEiuuZswiG
q+0oSBFvUHwyTodV8la/d4aHAqjFrGv/B9rIaRrp9G+dRDQvW6f0Y9aj6yRKZdmX
lKgHMWE9kEpToXio6yrFOgrcAypXUibeyCT/JkLqQtttZ//eRS5tnz1pMnmY+YVT
u5SX03WTDIK2VIc+jJ3C/vjAtQr3K8dVCgXw1M28lPG0URbVEvnZvPL9qYoNN1N4
xXxeK/+RqvRa4vgIXaIWBD3OL7QB2s/PLHKUoPSsLD+W3+1qmcFE8dS0s8O8kSfx
z432QSvuFY+OBTrBtt08PNX7aFv96IE3SHJ0if51qAFuxQ5dLcBQsmlTz1BH18qE
aN9CtNAT8GedJeeIoL7qKH2eGxIR5jWzNWwUuc1/1sBfxlPkeM4nZd+NfYuwP9EM
3eXzO2GARYTfejEl6N0svkv34fRuCjw1uf4+zywR9/fzfGeRIPLGOVtmm79GPBF7
J6kg9E87XRzVmBS/FZiR3Jt4LFDFbgKhL728ro0cvfJ/lEgkhMs=
=SxpP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to