Your message dated Fri, 15 Dec 2023 07:19:18 +0000
with message-id <e1re2te-004uqq...@fasolo.debian.org>
and subject line Bug#1058374: fixed in python-parsley 1.3-3
has caused the Debian Bug report #1058374,
regarding python-parsley: 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.)
--
1058374: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058374
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-parsley
Version: 1.3-2
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
> I: pybuild base:310: python3.11 setup.py config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> I: pybuild base:310: /usr/bin/python3 setup.py build
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_parsley/build; python3.12 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 309 items
>
> ometa/test/test_builder.py ............F........ [
> 6%]
> ometa/test/test_protocol.py .F.FFF....... [
> 11%]
> ometa/test/test_pymeta.py .............................................. [
> 25%]
> ...................................................................F.... [
> 49%]
> ................................................s...s...sss.......s..s.. [
> 72%]
> ......s................... [
> 80%]
> ometa/test/test_runtime.py ....F................ [
> 87%]
> ometa/test/test_tube.py .... [
> 88%]
> ometa/test/test_vm_builder.py ..................... [
> 95%]
> terml/test/test_quasiterm.py ... [
> 96%]
> terml/test/test_terml.py ..........
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________ PythonWriterTests.test_markAsTree
> _______________________
>
> self = <ometa.test.test_builder.PythonWriterTests testMethod=test_markAsTree>
>
> def test_markAsTree(self):
> """
> Grammars containing list patterns are marked as taking
> tree-shaped input rather than character streams.
> """
> x = t.Rule("foo", t.List(
> t.Exactly("x")))
> g = t.Grammar("TestGrammar", True, [x])
> > self.assert_("\n tree = True\n" in writePython(g, ""))
> E AttributeError: 'PythonWriterTests' object has no attribute
> 'assert_'. Did you mean: 'assertIn'?
>
> ometa/test/test_builder.py:328: AttributeError
> ______________ ParserProtocolTestCase.test_connectionEstablishes
> _______________
>
> self = <ometa.test.test_protocol.ParserProtocolTestCase
> testMethod=test_connectionEstablishes>
>
> def test_connectionEstablishes(self):
> """prepareParsing is called on the receiver after connection
> establishment."""
> self.protocol.makeConnection(None)
> > self.assert_(self.protocol.receiver.connected)
> E AttributeError: 'ParserProtocolTestCase' object has no attribute
> 'assert_'. Did you mean: 'assertIn'?
>
> ometa/test/test_protocol.py:93: AttributeError
> __________ ParserProtocolTestCase.test_dataIgnoredAfterDisconnection
> ___________
>
> self = <ometa.test.test_protocol.ParserProtocolTestCase
> testMethod=test_dataIgnoredAfterDisconnection>
>
> def test_dataIgnoredAfterDisconnection(self):
> """After connectionLost is called, all incoming data is ignored."""
> transport = FakeTransport()
> self.protocol.makeConnection(transport)
> reason = object()
> self.protocol.connectionLost(reason)
> self.protocol.dataReceived('d')
> self.assertEqual(self.protocol.receiver.lossReason, reason)
> > self.assert_(not transport.aborted)
> E AttributeError: 'ParserProtocolTestCase' object has no attribute
> 'assert_'. Did you mean: 'assertIn'?
>
> ometa/test/test_protocol.py:190: AttributeError
> ___________ ParserProtocolTestCase.test_exceptionsRaisedFromReceiver
> ___________
>
> self = <ometa.test.test_protocol.ParserProtocolTestCase
> testMethod=test_exceptionsRaisedFromReceiver>
>
> def test_exceptionsRaisedFromReceiver(self):
> """
> Raising an exception from receiver methods called from the grammar
> propagate to finishParsing.
> """
> transport = FakeTransport()
> self.protocol.makeConnection(transport)
> self.protocol.dataReceived('e')
> > self.failIfEqual(self.protocol.receiver.lossReason, None)
> E AttributeError: 'ParserProtocolTestCase' object has no attribute
> 'failIfEqual'
>
> ometa/test/test_protocol.py:177: AttributeError
> ___________________ ParserProtocolTestCase.test_parseFailure
> ___________________
>
> self = <ometa.test.test_protocol.ParserProtocolTestCase
> testMethod=test_parseFailure>
>
> def test_parseFailure(self):
> """
> Parse failures cause connection abortion with the parse error as the
> reason.
> """
> transport = FakeTransport()
> self.protocol.makeConnection(transport)
> self.protocol.dataReceived('b')
> > self.failIfEqual(self.protocol.receiver.lossReason, None)
> E AttributeError: 'ParserProtocolTestCase' object has no attribute
> 'failIfEqual'
>
> ometa/test/test_protocol.py:164: AttributeError
> ______________________ MakeGrammarTest.test_brokenGrammar
> ______________________
>
> self = <ometa.test.test_pymeta.MakeGrammarTest testMethod=test_brokenGrammar>
>
> def test_brokenGrammar(self):
> grammar = """
> andHandler = handler:h1 'and handler:h2 -> And(h1, h2)
> """
> e = self.assertRaises(ParseError, OMeta.makeGrammar, grammar,
> "Foo")
> > self.assertEquals(e.position, 57)
> E AttributeError: 'MakeGrammarTest' object has no attribute
> 'assertEquals'. Did you mean: 'assertEqual'?
>
> ometa/test/test_pymeta.py:1142: AttributeError
> ________________________ RuntimeTests.test_exactlyFail
> _________________________
>
> self = <ometa.test.test_runtime.RuntimeTests testMethod=test_exactlyFail>
>
> def test_exactlyFail(self):
> """
> L{OMetaBase.rule_exactly} raises L{ParseError} when the requested item
> doesn't match the input. The error contains info on what was expected
> and the position.
> """
>
> data = "foo"
> o = OMetaBase(data)
> exc = self.assertRaises(ParseError, o.rule_exactly, "g")
> > self.assertEquals(exc.args[1], expected(None, "g"))
> E AttributeError: 'RuntimeTests' object has no attribute
> 'assertEquals'. Did you mean: 'assertEqual'?
>
> ometa/test/test_runtime.py:57: AttributeError
> =========================== short test summary info
> ============================
> FAILED ometa/test/test_builder.py::PythonWriterTests::test_markAsTree -
> Attri...
> FAILED
> ometa/test/test_protocol.py::ParserProtocolTestCase::test_connectionEstablishes
> FAILED
> ometa/test/test_protocol.py::ParserProtocolTestCase::test_dataIgnoredAfterDisconnection
> FAILED
> ometa/test/test_protocol.py::ParserProtocolTestCase::test_exceptionsRaisedFromReceiver
> FAILED ometa/test/test_protocol.py::ParserProtocolTestCase::test_parseFailure
> FAILED ometa/test/test_pymeta.py::MakeGrammarTest::test_brokenGrammar -
> Attri...
> FAILED ometa/test/test_runtime.py::RuntimeTests::test_exactlyFail -
> Attribute...
> =================== 7 failed, 294 passed, 8 skipped in 7.48s
> ===================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_parsley/build; python3.12 -m pytest
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build; python3.11 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 309 items
>
> ometa/test/test_builder.py ..................... [
> 6%]
> ometa/test/test_protocol.py ............. [
> 11%]
> ometa/test/test_pymeta.py .............................................. [
> 25%]
> ........................................................................ [
> 49%]
> ................................................s...s...sss.......s..s.. [
> 72%]
> ......s................... [
> 80%]
> ometa/test/test_runtime.py ..................... [
> 87%]
> ometa/test/test_tube.py .... [
> 88%]
> ometa/test/test_vm_builder.py ..................... [
> 95%]
> terml/test/test_quasiterm.py ... [
> 96%]
> terml/test/test_terml.py ..........
> [100%]
>
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_builder.py::PythonWriterTests::test_markAsTree
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_builder.py:328:
> DeprecationWarning: Please use assertTrue instead.
> self.assert_("\n tree = True\n" in writePython(g, ""))
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_connectionEstablishes
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:93:
> DeprecationWarning: Please use assertTrue instead.
> self.assert_(self.protocol.receiver.connected)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_dataIgnoredAfterDisconnection
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:190:
> DeprecationWarning: Please use assertTrue instead.
> self.assert_(not transport.aborted)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_exceptionsRaisedFromReceiver
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:177:
> DeprecationWarning: Please use assertNotEqual instead.
> self.failIfEqual(self.protocol.receiver.lossReason, None)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_exceptionsRaisedFromReceiver
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:180:
> DeprecationWarning: Please use assertTrue instead.
> self.assert_(transport.aborted)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_parseFailure
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:164:
> DeprecationWarning: Please use assertNotEqual instead.
> self.failIfEqual(self.protocol.receiver.lossReason, None)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py::ParserProtocolTestCase::test_parseFailure
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_protocol.py:167:
> DeprecationWarning: Please use assertTrue instead.
> self.assert_(transport.aborted)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_pymeta.py::MakeGrammarTest::test_brokenGrammar
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_pymeta.py:1142:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(e.position, 57)
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_pymeta.py::MakeGrammarTest::test_brokenGrammar
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_pymeta.py:1143:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(e.error, [("message", "end of input")])
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_runtime.py::RuntimeTests::test_exactlyFail
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_runtime.py:57:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(exc.args[1], expected(None, "g"))
>
> .pybuild/cpython3_3.11_parsley/build/ometa/test/test_runtime.py::RuntimeTests::test_exactlyFail
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_parsley/build/ometa/test/test_runtime.py:58:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(exc.args[0], 0)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ================= 301 passed, 8 skipped, 11 warnings in 7.50s
> ==================
> 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/python-parsley_1.3-2_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 ---
Source: python-parsley
Source-Version: 1.3-3
Done: Andrius Merkys <mer...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-parsley, 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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrius Merkys <mer...@debian.org> (supplier of updated python-parsley 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: Fri, 15 Dec 2023 02:02:01 -0500
Source: python-parsley
Architecture: source
Version: 1.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andrius Merkys <mer...@debian.org>
Closes: 1058374
Changes:
python-parsley (1.3-3) unstable; urgency=medium
.
* Restore pytest compatibility for Python 3.12 (Closes: #1058374)
* Update standards version to 4.6.2, no changes needed.
* Add debian/upstream/metadata by lintian-brush.
Checksums-Sha1:
f1e7654d2b1a126f8749f8ccf6fc8059f30e4700 2181 python-parsley_1.3-3.dsc
1136871d9dbbc54e7977bb1fcad837e8e7974ca7 3744
python-parsley_1.3-3.debian.tar.xz
381b71fa68acb9187173a59bbd42b5289e100c28 8426
python-parsley_1.3-3_source.buildinfo
Checksums-Sha256:
b4827ef20228c159f76d73941a0e1bfed7755d738f607d6b1d0590e03665ef37 2181
python-parsley_1.3-3.dsc
b3c0a4ead26ce46af99581e03842cdef6d2178c70409e45ed4b246ac73c41e57 3744
python-parsley_1.3-3.debian.tar.xz
16ce332f9cb91e234ff63371c7b3bd6bf7860202c24648c447c06da86030ed8d 8426
python-parsley_1.3-3_source.buildinfo
Files:
110edb327684000bf7a2543828d7993b 2181 python optional python-parsley_1.3-3.dsc
36f3348244c77d0e9209f08ab9b37680 3744 python optional
python-parsley_1.3-3.debian.tar.xz
8825447637d373b26b51a2a872b0d23e 8426 python optional
python-parsley_1.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmV7+70SHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHnsAP/iC4adEAqnY8kX3mJNrSDyNuHXqelho0
eOgwhjYbRVmH1rh3tgX9K7Al1xYdnc/cmGX1eb0xgpsb+d3Z7m5dP6x8QW6EqglI
OCdogcugGz0tuHXPLkj+pnybp0ZTdWZRNecR7oFU9LZzeW60gz9LOdmxTE3iYtb+
jValQk/V77bp7ucsVgLwW2ebr46Xn3qIKz5/VShoS2/B1HH8RicMD73QbTNY9pPI
ZP+iilIYYvMldczTMzdn3akdTBHRWyS6zX4AnNBsU7a9WNIL0NhljmuokSOL3nyM
eE6+/rvro7M1cyCIUnRJXMRF1+ErB7SWxguF6DuxvOD54vovtGOKJXDnyn3PCZI1
rB5reL3HF56M2GZZpiE6U1D0X5E/MHBnU3mDmCb43XYO2lWiINAW1Rr43Dw15dus
d0XskvWeeCmOUzx8IdCyk+CuWbho0lviUaFxNiRknrxlPMtZXQqAk8FfYytBb9hu
Zj+eODjrs8DX/2MNjn3TsE9hCRK8l9nadm+qvqI0zhrr8491uE+WMBSmRrw705uK
0NynHhcC/j4B6QreYomBW/N/080X223Zd70RdEoXNHM9GzuraAli6txcgMO3CPIa
7C2HKwE1LJlIvRc1Ntfhw6ETDAVbeU3OY+NxEvMnk+QGxhtB6pNujzpKNOmUYQAd
NYLACI6rcg8e
=JMHd
-----END PGP SIGNATURE-----
--- End Message ---