Your message dated Sun, 14 Jan 2024 13:35:00 +0000
with message-id <e1rp0dg-000ddd...@fasolo.debian.org>
and subject line Bug#1056437: fixed in pydocstyle 6.3.0-1.1
has caused the Debian Bug report #1056437,
regarding pydocstyle'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.)


-- 
1056437: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056437
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pydocstyle
Version: 6.3.0-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12


pydocstyle's autopkg tests fail with Python 3.12:

[...]
296s =================================== FAILURES =================================== 296s _____________________________ test_simple_fstring ______________________________
296s
296s     def test_simple_fstring():
296s """Test parsing of a function with a simple fstring as a docstring."""
296s         parser = Parser()
296s         code = CodeSnippet("""\
296s def do_something(pos_param0, pos_param1, kw_param0="default"):
296s                 f\"""Do something.\"""
296s                 return None
296s         """)
296s         module = parser.parse(code, 'file_path')
296s         assert module.is_public
296s         assert module.dunder_all is None
296s
296s         function, = module.children
296s         assert function.name == 'do_something'
296s         assert function.decorators == []
296s         assert function.children == []
296s >       assert function.docstring == 'f"""Do something."""'
296s E       assert None == 'f"""Do something."""'
296s E + where None = Function(name='do_something', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=3, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=4, decorators=[], docstring=None, children=[Function(name='do_something', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=3, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=4, decorators=[], docstring=None, children=[...], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='')], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='').docstring
296s
296s tests/parser_test.py:69: AssertionError
296s ____________________________ test_fstring_with_args ____________________________
296s
296s     def test_fstring_with_args():
296s """Test parsing of a function with an fstring with args as a docstring."""
296s         parser = Parser()
296s         code = CodeSnippet("""\
296s             foo = "bar"
296s             bar = "baz"
296s def do_something(pos_param0, pos_param1, kw_param0="default"):
296s                 f\"""Do some {foo} and some {bar}.\"""
296s                 return None
296s         """)
296s         module = parser.parse(code, 'file_path')
296s         assert module.is_public
296s         assert module.dunder_all is None
296s
296s         function, = module.children
296s         assert function.name == 'do_something'
296s         assert function.decorators == []
296s         assert function.children == []
296s > assert function.docstring == 'f"""Do some {foo} and some {bar}."""'
296s E       assert None == 'f"""Do some {foo} and some {bar}."""'
296s E + where None = Function(name='do_something', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=3, end=5, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=1, end=6, decorators=[], docstring=None, children=[Function(name='do_something', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=3, end=5, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=1, end=6, decorators=[], docstring=None, children=[...], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='')], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='').docstring
296s
296s tests/parser_test.py:100: AssertionError
296s =========================== short test summary info ============================ 296s FAILED tests/parser_test.py::test_simple_fstring - assert None == 'f"""Do som... 296s FAILED tests/parser_test.py::test_fstring_with_args - assert None == 'f"""Do ... 296s ======================== 2 failed, 212 passed in 13.72s ========================
--- End Message ---
--- Begin Message ---
Source: pydocstyle
Source-Version: 6.3.0-1.1
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pydocstyle, 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.
Matthias Klose <d...@debian.org> (supplier of updated pydocstyle 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: Sun, 14 Jan 2024 14:07:21 +0100
Source: pydocstyle
Built-For-Profiles: noudeb
Architecture: source
Version: 6.3.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1056437 1058420
Changes:
 pydocstyle (6.3.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply upstream patch proposal to fix Python 3.12 compatibility.
     Closes: #1056437, #1058420.
Checksums-Sha1:
 800930419633603ff8d781fd5140863fcde3461d 2271 pydocstyle_6.3.0-1.1.dsc
 6b814d98f9d642229a7fddd3fde0e07de7a273ba 5968 
pydocstyle_6.3.0-1.1.debian.tar.xz
 bacce9efa1d704d55f76acba6c1dc75b49edfde9 8444 
pydocstyle_6.3.0-1.1_source.buildinfo
Checksums-Sha256:
 d6f0f02d732d22cfa460cd04d53d48ad1f436bfa4bd5286ccee10ff8060818bb 2271 
pydocstyle_6.3.0-1.1.dsc
 c18b1953e10f9aff62f9bbea28fada717f614cad0204b557d3105777c0e16cde 5968 
pydocstyle_6.3.0-1.1.debian.tar.xz
 f1fb859f8b695c15289b6da0f153fa25d5d9f9a0cc3393a2bb42ea4511870751 8444 
pydocstyle_6.3.0-1.1_source.buildinfo
Files:
 8a982d802c80030f4522d0afae8a7756 2271 devel optional pydocstyle_6.3.0-1.1.dsc
 f08b685cfdfece6661b4a49d6d8ea4b5 5968 devel optional 
pydocstyle_6.3.0-1.1.debian.tar.xz
 bde71b00a3f1176a9398b0f56469ca91 8444 devel optional 
pydocstyle_6.3.0-1.1_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmWj3YQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9WVwD/wPcf/id4iZq2lr7iOiknOpNLJQvYonlW0g
KEFKBhoKzPkiAV3Yl4QrgQNAK7oZKXjum5gSLsSU2B2rpPrXVkgrOaZoDxqedpUW
cK8TquwLw/ZI+/LbfgY7igS/j59QLAsz7CDvgxBRIiiXblv93x3b47IBC2cvXrx4
QuwFUeoQY93/xIDIwHmJAkCQsaPsqzxKe0D8x5bz+jTlz371LK5nr/PXlXJnMe84
BpK6yXa6YeSTqQsL5W63gbSUuBdmN8xC23f6Pa7maQyLQOOllj6/6U3C4emAUXCS
hB+XgTW8kbM8bpoWSUUeYCPGVxfXPxdWG5JMOQk8vmpusq3+vkk8NjiBArGYVIJ2
amxDKyE38DyMrF27N90kPEjufMZWAapRzKoJWDWnUwDokuXqVL10kgmV1Jad2NGd
h6qTLW2D6d0Y3+PARDapWoA7oJd7Pw5oN7oydzVW1sPFbOn5xZXI3/4SFyBDLWzO
kqzwM5D42aFXBIOe3IbwaiImIe3KnAIsp7MIrquOpylljTsAid3LXQFcne60YpWQ
sposmEKWFckihm8GBeSJ9nUPnck4fl/TyqfT0wm3arfXuqr336dG4yqdu4pncpBc
o3hXt9qQB5u/WGuHw4tlp8nAmtNGT61gknXdmNQbUH4QN6ihbxUgx2IMFmgrjj5c
UVRe01xFfw==
=qE4/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to