Your message dated Mon, 26 Aug 2024 22:20:48 +0000
with message-id <e1sii4u-007tdw...@fasolo.debian.org>
and subject line Bug#1061841: fixed in rstcheck 6.2.4+~1.2.1-1
has caused the Debian Bug report #1061841,
regarding rstcheck fails its autopkg tests 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.)
--
1061841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061841
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:rstcheck
Version: 6.1.2+~1.0.3-2
Severity: important
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails its autopkg
tests:
[...]
679s autopkgtest [14:22:15]: test run-core-tests: [-----------------------
680s ============================= test session starts
==============================
680s platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
680s rootdir: /tmp/autopkgtest.LoiBMd/autopkgtest_tmp
680s plugins: mock-3.12.0
680s collected 458 items
680s
680s tests/test__docutils.py ....s.....
[ 2%]
680s tests/test__extras.py .ss.s.s.
[ 3%]
680s tests/test__sphinx.py s.s.ssssssss
[ 6%]
680s tests/test_checker.py
..............ss.s..sss...ssssss...sss...........s [ 17%]
681s ..s.sF.............ss..ss..ss..ss.ss...
[ 25%]
681s tests/test_config.py
................................................... [ 37%]
681s
...............................................................sssssssss
[ 52%]
681s sssssssssssssss.....sss.....ssss.sss...................
[ 64%]
681s tests/test_inline_config.py ....................
[ 69%]
682s tests/test_runner.py ..ssssss...................................
[ 78%]
682s tests/test_types.py ..
[ 79%]
683s tests/integration_tests/test_file_checker.py
......................s..s. [ 84%]
683s s.........s..s.s.
[ 88%]
686s tests/integration_tests/test_runner.py
..........................s..s.s. [ 95%]
686s ............s..s.s.
[100%]
686s
686s =================================== FAILURES
===================================
686s ____
TestCodeBlockChecker.test_check_python_returns_error_on_syntax_warning ____
686s
686s @staticmethod
686s @pytest.mark.skipif(sys.version_info < (3, 8),
reason="Requires python3.8 or higher")
686s def test_check_python_returns_error_on_syntax_warning() ->
None:
686s """Test ``check_python`` returns error on SyntaxWarning.
686s
686s With python 3.8 a SyntaxWarning is logged for '"is"
with literals'.
686s
686s Context: https://github.com/rstcheck/rstcheck/issues/122
686s """
686s source = """
686s if mystring is "ok":
686s ...
686s """
686s cb_checker = checker.CodeBlockChecker("<string>")
686s
686s result = list(cb_checker.check_python(source))
686s
686s assert len(result) == 1
686s > assert '"is" with a literal' in result[0]["message"]
686s E assert '"is" with a literal' in '"is" with \'str\'
literal. Did you mean "=="?'
686s
686s tests/test_checker.py:735: AssertionError
686s =========================== short test summary info
============================
686s FAILED
tests/test_checker.py::TestCodeBlockChecker::test_check_python_returns_error_on_syntax_warning
686s ================== 1 failed, 362 passed, 95 skipped in 6.69s
===================
687s autopkgtest [14:22:23]: test run-core-tests: -----------------------]
687s autopkgtest [14:22:23]: test run-core-tests: - - - - - - - - - -
results - - - - - - - - - -
687s run-core-tests FAIL non-zero exit status 1
--- End Message ---
--- Begin Message ---
Source: rstcheck
Source-Version: 6.2.4+~1.2.1-1
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
rstcheck, 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 1061...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated rstcheck 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: SHA256
Format: 1.8
Date: Mon, 26 Aug 2024 23:04:51 +0100
Source: rstcheck
Architecture: source
Version: 6.2.4+~1.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1061841
Changes:
rstcheck (6.2.4+~1.2.1-1) unstable; urgency=medium
.
* New upstream release.
- Handle Python 3.12 syntax warning on 'is' with str literals (closes:
#1061841).
Checksums-Sha1:
ab8c6f49174828cb6a11e3fa665afa78c5e0b7d7 3105 rstcheck_6.2.4+~1.2.1-1.dsc
acfbf62d609b16b0a7d8375d34bba48a0183bd37 69762
rstcheck_6.2.4+~1.2.1.orig-core.tar.gz
8db89e3e089222c04241f9086a060795a69c7466 41525
rstcheck_6.2.4+~1.2.1.orig.tar.gz
a661da0fffd343250f12515b48f273a853edccdb 4716
rstcheck_6.2.4+~1.2.1-1.debian.tar.xz
Checksums-Sha256:
d94dc02bee7c32a720f8c8dbc28ff4d23d06dba23fbd4944cc9c5091ba06180d 3105
rstcheck_6.2.4+~1.2.1-1.dsc
a64dc9cae1bff39ac5dfbb74a631cec1417390b9430f33c08815329f4ceb4250 69762
rstcheck_6.2.4+~1.2.1.orig-core.tar.gz
63d8b5417a770af814db5c2d2c373c3a3455766b8ea8f85320e2346effb19c75 41525
rstcheck_6.2.4+~1.2.1.orig.tar.gz
03e1aad90c3ac136f7df531804ed14e617675b16f2b7c8a3b42e083cfee06df0 4716
rstcheck_6.2.4+~1.2.1-1.debian.tar.xz
Files:
dddaea36e3d56cbe29bcaa82d42acc6d 3105 text optional rstcheck_6.2.4+~1.2.1-1.dsc
22d8b9963d4b205a7cabb2480f5f2fa0 69762 text optional
rstcheck_6.2.4+~1.2.1.orig-core.tar.gz
915c222afe1047430d283bac6221a9e1 41525 text optional
rstcheck_6.2.4+~1.2.1.orig.tar.gz
90654ada26297eca6a1aa3653788c7cd 4716 text optional
rstcheck_6.2.4+~1.2.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmbM/HQACgkQOTWH2X2G
UAtAUBAAmAmoZ9hvKVuhAauJhDhwo44XMTpv2yiUV1ovGud6j6OrZrpa4viDGCXc
aJspogIoEJSLN92w2WVmaiPYjY7oj00hJwMKeZk11uQZOdYSGwPIKQt11AFdibga
Hz1mbgXVYTtdlKmpQW9XPyPi1MhmELTUGAKFfO8DcTiR4x0P3Tioa9JvMaHRbKYO
qvFS3MpNsrwXAhQ4wouPY7itCFsaDDG17e1KQGttL5nvLd6iUGO9JT17xJugDbn8
mU8JqmYMOwT25A8v7VY7X0VEVald/tDo4LxNr1hwH9dh6MREl1nBh3PFtqRJ4qdE
zWOY0a/YcQd5ve3cU0ASBBVpZGHX8AGWMb5SKf42/Z+MFKJuDlzE380Mnvz79+zq
poCHCY9c/jptyKoUKOEiLnxMcDN7v782m95wQhcuL8+S+SEGPvEBWARpchDIXYWT
gciyubgDQFRCipiMSGqrqMNcTQWf8pijXffK4aT8vfb2z/0nBCwHKLiHtoeMmHta
qnJ/2j1utCuPOueJAmk4/kx38cXUlWOjSJUWCASvkaOZyMO6Qpv6TS+gOK/1bOCZ
DSy4t1Y0r8M583/tD8hT7plnNcJlCxalERXwZfuUxp8FQ95GCv6hQzfO0N9NfONx
1xwksrs4QbhOGsJ88uLNadLm1Rf2yuMR8Oe4XcrAGwmcaT7hn3w=
=E/dv
-----END PGP SIGNATURE-----
pgpusdfQ5ZkOY.pgp
Description: PGP signature
--- End Message ---