Your message dated Thu, 01 Nov 2018 09:50:39 +0000 with message-id <[email protected]> and subject line Bug#904655: fixed in python-line-profiler 2.1-2 has caused the Debian Bug report #904655, regarding python-line-profiler ftbfs with Python 3.7 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 [email protected] immediately.) -- 904655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904655 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:python-line-profiler Version: 2.1-1 Severity: serious Tags: sid buster python-line-profiler ftbfs with Python 3.7: ============================= test session starts ============================== platform linux -- Python 3.7.0+, pytest-3.6.2, py-1.5.3, pluggy-0.6.0 rootdir: /home/packages/tmp/python-line-profiler-2.1, inifile: plugins: hypothesis-3.44.1, case-1.5.3 collected 8 items tests/test_kernprof.py ...F [ 50%] tests/test_line_profiler.py ..F. [100%] =================================== FAILURES =================================== _______________________ TestKernprof.test_gen_decorator ________________________ args = (10,), kwds = {}, g = <generator object g at 0x7f66663eed68>, item = 50 input = None @functools.wraps(func) def wrapper(*args, **kwds): g = func(*args, **kwds) # The first iterate will not be a .send() self.enable_by_count() try: item = next(g) finally: self.disable_by_count() input = (yield item) # But any following one might be. while True: self.enable_by_count() try: > item = g.send(input) E StopIteration kernprof.py:104: StopIteration The above exception was the direct cause of the following exception: self = <test_kernprof.TestKernprof testMethod=test_gen_decorator> def test_gen_decorator(self): profile = ContextualProfile() g_wrapped = profile(g) self.assertEqual(g_wrapped.__name__, g.__name__) self.assertEqual(g_wrapped.__doc__, g.__doc__) self.assertEqual(profile.enable_count, 0) i = g_wrapped(10) self.assertEqual(profile.enable_count, 0) self.assertEqual(next(i), 20) self.assertEqual(profile.enable_count, 0) self.assertEqual(i.send(30), 50) self.assertEqual(profile.enable_count, 0) with self.assertRaises(StopIteration): > next(i) E RuntimeError: generator raised StopIteration tests/test_kernprof.py:77: RuntimeError _____________________ TestLineProfiler.test_gen_decorator ______________________ args = (10,), kwds = {}, g = <generator object g at 0x7f66663e1750>, item = 50 input = None @functools.wraps(func) def wrapper(*args, **kwds): g = func(*args, **kwds) # The first iterate will not be a .send() self.enable_by_count() try: item = next(g) finally: self.disable_by_count() input = (yield item) # But any following one might be. while True: self.enable_by_count() try: > item = g.send(input) E StopIteration line_profiler.py:102: StopIteration The above exception was the direct cause of the following exception: self = <test_line_profiler.TestLineProfiler testMethod=test_gen_decorator> def test_gen_decorator(self): profile = LineProfiler() g_wrapped = profile(g) self.assertEqual(g_wrapped.__name__, 'g') timings = profile.code_map[g.__code__] self.assertEqual(profile.enable_count, 0) i = g_wrapped(10) self.assertEqual(profile.enable_count, 0) self.assertEqual(next(i), 20) self.assertEqual(profile.enable_count, 0) self.assertEqual(len(timings), 1) self.assertEqual(i.send(30), 50) self.assertEqual(profile.enable_count, 0) self.assertEqual(len(timings), 2) with self.assertRaises(StopIteration): > next(i) E RuntimeError: generator raised StopIteration tests/test_line_profiler.py:94: RuntimeError ====================== 2 failed, 6 passed in 0.24 seconds ======================
--- End Message ---
--- Begin Message ---Source: python-line-profiler Source-Version: 2.1-2 We believe that the bug you reported is fixed in the latest version of python-line-profiler, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sébastien Villemot <[email protected]> (supplier of updated python-line-profiler 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 01 Nov 2018 10:25:39 +0100 Source: python-line-profiler Binary: python3-line-profiler Architecture: source Version: 2.1-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Sébastien Villemot <[email protected]> Description: python3-line-profiler - line-by-line profiling for Python Closes: 904655 Changes: python-line-profiler (2.1-2) unstable; urgency=medium . * Team upload * py37-compat.diff: new patch by Matthias Klose, fixes FTBFS against Python 3.7 (Closes: #904655) * Remove obsolete X-Python3-Version field in d/control Checksums-Sha1: 61518b4250204451311b9b6480fb2553b774dc7c 2259 python-line-profiler_2.1-2.dsc c0e7224bc01a8ee465f99e9beff2d35cc6ffeaa1 5944 python-line-profiler_2.1-2.debian.tar.xz abda7b611c7248ca788e35a8210f702f5e251ea9 7411 python-line-profiler_2.1-2_amd64.buildinfo Checksums-Sha256: 3e815b98ffa0820f3496ac6e719c938637cd12917ff7320c7e051198749fd5a4 2259 python-line-profiler_2.1-2.dsc 4f8316c277c96aa9955128a854a4fd27c2c320eeaf45ae28da8cbef7247c059f 5944 python-line-profiler_2.1-2.debian.tar.xz 4d2b62bdbc3c034840959273cddd8106914d64a375718546c77826835c51b2d4 7411 python-line-profiler_2.1-2_amd64.buildinfo Files: 75456d4eee08fdf05e4995f93ccf71e4 2259 python optional python-line-profiler_2.1-2.dsc 574ee0f13a48b703424ff854dccf1559 5944 python optional python-line-profiler_2.1-2.debian.tar.xz 435c883cb6e092a6095685b37964d7e3 7411 python optional python-line-profiler_2.1-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlvayDEACgkQLOzpNQ7O vkq/vBAAlOwuAho9joZvDbZI7MemrIV/4nuOUutx/NYPJjyBBZljrlxw4l+fgB10 fCxCoAcqr7oqEV9EeGtERJefvltEmG3hIumOENIpADVDLv6sH/GO72ns+wx/sGzS PUMxYUiJyv1pvg0qQkNspV7sjL3EwAYWfB+oh+poyExvBPwyokwqOkHjSXcmOKJn 8UOBFAZWRTNv7rDBPCtpiH+Yp36hDmobPEY6A6mO+ljjRQ3nKBAns3XgvBJmUln4 FYccoUtucXLOQSc9YQyJLRKea4QSFCaVIs3h3uymRWLFYQpNZFeeht8gnmi+x9PA NT4w0U8TF3wUxlZwj87gGa9084PvBuTpGPxnR5y70zTLqaugfCVvkQ9srbb6YGUT JLNRRDBRtZKbOSHL7JpDEcIIENT/EJcSQRs1A9EvuHJYp8LEmL6ZgMrokGFuhPf9 8OBvU/ukJRhwcOB7/YciPLw8riY3WqnuFFJanjk2ABJ4CbQJ4j36wdyRRRcbK9Ln 4D6va6uS3eOYwMC2npKyC+onYsLFREr8TrQQvZ8jbj/+BKI8/DkwZtSByGLkatIU RZT0r7GXrBHEPjK3BVt0OT4oUEho2/9TCo+p0Z4jiW3ao3kqm+3re8EdQTuqxNKh YAdkdNIup9443kL4cbxozJJsFVSXnnub3gTgE6yq+jIEeqKUr1w= =B3ud -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
