Your message dated Sat, 08 Feb 2020 05:49:25 +0000
with message-id <e1j0izd-0008yx...@fasolo.debian.org>
and subject line Bug#950841: fixed in radon 4.1.0+dfsg-1
has caused the Debian Bug report #950841,
regarding radon fails autopkg tests with python3.8, fixed in new upstream 4.1.0
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.)
--
950841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950841
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:radon
Version: 3.0.3+dfsg-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8
radon fails autopkg tests with python3.8, apparently fixed in new upstream
4.1.0.
[...]
=================================== FAILURES ===================================
____ test_visitor[\n a += 3\n b += 4\n c *= 3\n -expected7] ____
code = '\n a += 3\n b += 4\n c *= 3\n ', expected = (3, 6, 2, 5)
@pytest.mark.parametrize('code,expected', SIMPLE_BLOCKS)
def test_visitor(code, expected):
visitor = HalsteadVisitor.from_code(dedent(code))
> assert expected == (visitor.operators, visitor.operands,
visitor.distinct_operators,
visitor.distinct_operands)
E assert (3, 6, 2, 5) == (3, 6, 2, 6)
E At index 3 diff: 5 != 6
E Use -v to get the full diff
radon/tests/test_halstead.py:71: AssertionError
_ test_visitor[\n a = b < 4\n c = i <= 45 >= d\n k = 4 < 2\n
-expected9] _
code = '\n a = b < 4\n c = i <= 45 >= d\n k = 4 < 2\n '
expected = (4, 7, 3, 6)
@pytest.mark.parametrize('code,expected', SIMPLE_BLOCKS)
def test_visitor(code, expected):
visitor = HalsteadVisitor.from_code(dedent(code))
> assert expected == (visitor.operators, visitor.operands,
visitor.distinct_operators,
visitor.distinct_operands)
E assert (4, 7, 3, 6) == (4, 7, 3, 7)
E At index 3 diff: 6 != 7
E Use -v to get the full diff
radon/tests/test_halstead.py:71: AssertionError
_ test_mi_visit[\n class A(object):\n\n def __init__(self, n):\n
# this is awesome\n self.n = sum(i for i in range(n) if
i&1)\n\n def m(self, j):\n """Just compute it.\n
Example.\n """\n if j > 421:\n return
(self.n + 2) ** j\n return (self.n - 2) ** j\n\n a = A(4)\n
a.m(42) # i don't know why, but it works\n-93.84027450359395-True] _
code = "class A(object):\n\n def __init__(self, n):\n # this is
awesome\n self.n = sum(i for i in range(n) i... return (self.n + 2)
** j\n return (self.n - 2) ** j\n\na = A(4)\na.m(42) # i don't know why,
but it works"
expected = 93.84027450359395, count_multi = True
@pytest.mark.parametrize('code,expected,count_multi', MI_VISIT_CASES)
def test_mi_visit(code, expected, count_multi):
code = dedent(code)
expected = expected
count_multi = count_multi
> assert mi_visit(code, count_multi) == expected
E assert 93.75365939134126 == 93.84027450359395
E + where 93.75365939134126 = mi_visit("class A(object):\n\n def
__init__(self, n):\n # this is awesome\n self.n = sum(i for i in
range(n) i... return (self.n + 2) ** j\n return (self.n - 2) **
j\n\na = A(4)\na.m(42) # i don't know why, but it works", True)
radon/tests/test_other_metrics.py:130: AssertionError
_ test_mi_visit[\n class A(object):\n\n def __init__(self, n):\n
# this is awesome\n self.n = sum(i for i in range(n) if
i&1)\n\n def m(self, j):\n """Just compute it.\n
Example.\n """\n if j > 421:\n return
(self.n + 2) ** j\n return (self.n - 2) ** j\n\n a = A(4)\n
a.m(42) # i don't know why, but it works\n-88.84176333569131-False] _
code = "class A(object):\n\n def __init__(self, n):\n # this is
awesome\n self.n = sum(i for i in range(n) i... return (self.n + 2)
** j\n return (self.n - 2) ** j\n\na = A(4)\na.m(42) # i don't know why,
but it works"
expected = 88.84176333569131, count_multi = False
@pytest.mark.parametrize('code,expected,count_multi', MI_VISIT_CASES)
def test_mi_visit(code, expected, count_multi):
code = dedent(code)
expected = expected
count_multi = count_multi
> assert mi_visit(code, count_multi) == expected
E assert 88.75514822343865 == 88.84176333569131
E + where 88.75514822343865 = mi_visit("class A(object):\n\n def
__init__(self, n):\n # this is awesome\n self.n = sum(i for i in
range(n) i... return (self.n + 2) ** j\n return (self.n - 2) **
j\n\na = A(4)\na.m(42) # i don't know why, but it works", False)
radon/tests/test_other_metrics.py:130: AssertionError
===================== 4 failed, 382 passed in 0.74 seconds =====================
--- End Message ---
--- Begin Message ---
Source: radon
Source-Version: 4.1.0+dfsg-1
We believe that the bug you reported is fixed in the latest version of
radon, 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 950...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Arias <eam...@yaerobi.com> (supplier of updated radon 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: Fri, 07 Feb 2020 19:08:25 -0300
Source: radon
Architecture: source
Version: 4.1.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team
<python-apps-t...@lists.alioth.debian.org>
Changed-By: Emmanuel Arias <eam...@yaerobi.com>
Closes: 950841
Changes:
radon (4.1.0+dfsg-1) unstable; urgency=medium
.
[ Emmanuel Arias ]
* Team upload.
* Add d/watch file.
* New upstream version 4.1.0+dfsg (Closes: #950841).
* d/control: Bump standard-version to 4.5.0.
* d/control: Fix Maintener field.
- Change fom DPMT to PAPT
.
[ Ondřej Nový ]
* d/control: Fix wrong Vcs-*.
Checksums-Sha1:
ba5a66fcc0eb9ba5fd463bfa9dcc3eca488e8bd8 2204 radon_4.1.0+dfsg-1.dsc
d7354ab7d7fa61e550a485029a41d7c33c6a43c0 295992 radon_4.1.0+dfsg.orig.tar.xz
1148919383d8a2c0d312577eabd5935778e4362e 4796 radon_4.1.0+dfsg-1.debian.tar.xz
4408055885e6051bb8c01d792e31fbe131104bb4 5957
radon_4.1.0+dfsg-1_source.buildinfo
Checksums-Sha256:
ae173716d32e84409c98cd1b401b34f75ea662d1cee3bed45ef2d4bc38350f32 2204
radon_4.1.0+dfsg-1.dsc
7eb6f42d799b3c1f5789d71ff32d83b34ef304f696ec42714db2dee44f2752b1 295992
radon_4.1.0+dfsg.orig.tar.xz
8d638687958858c709903c646b345fd4c0037f046fc6f22050eebaa97e9f2eab 4796
radon_4.1.0+dfsg-1.debian.tar.xz
eb7a2bb947b5aaf0094c2848b18176bc9692c6876050050fda0fcd398cbac69c 5957
radon_4.1.0+dfsg-1_source.buildinfo
Files:
ee0ec70fada130817a1231b5bcd3db68 2204 devel optional radon_4.1.0+dfsg-1.dsc
80cf792f7e3c4c92302a42d5d21544a5 295992 devel optional
radon_4.1.0+dfsg.orig.tar.xz
fbbc9206a5b7ecfae1e70249d12a79ec 4796 devel optional
radon_4.1.0+dfsg-1.debian.tar.xz
c1b20e5bbdd4ac47d6bd3d4d55a3151e 5957 devel optional
radon_4.1.0+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl4+RNQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9UB0D/sGA8Rs3Z+hUIoQcvf8IgFNDb31vxaT7qmw
CdAg5TyvHHJ85KO7ELE+ffzYT76bc9OL1PQyMxmQQ+UFk5f8NwzGpw2nJGjl0HYI
dQ1+OFnSFAKpKvkZgZFn3i96nxWQUzKzfFz8lPrgqg5N+Y4lfOGMycaktZxx1BYY
L9UTNdudkADmp/0BoRIURkYDKpPMSSn6TGKLdeFG0coZobbt4QuNWsgipPUXcAQk
fM0K4CQJ0FUdADCtevj4FODjTmodv6lDC5whSgr/iqh3lhdpNpIkyWONwy9kFCe2
iuH2Q/QaFkvRmhbc/zvY2LaFbPEcwJoXVP4Sjnw9Urlynn/ua2iBIcOJ32bevry9
HrYLT6X/NBYxNFQ+PVflNg6wvU4Nk5d4WvUdgLJIJBGUbZXCsjskCC9mtUySzy0i
HnEp62dmga5Lqyi+zNlP+QHIhKkGZyWzJBo4YAAzfxIwjXPBPCECXwnA660VI7SZ
KDeurbPphj3mGCHTA7ta1VBhNm6lE2M9EzW9KhglLbSEIYviV6tvLZX3Fwl6lNBe
PczG1UOnlTSKC2K85C7tGc2cfTwNjEIi6eTxQcL3DQ3oJpxqyaKBLv/eXXPTS1B7
HGuYRcJMWdYcSAXtHbGpqwkCOUYJwCQHqt9gdx3TdyYcn2y6jUE8RWDktH3QAAos
vD868rmaqg==
=vLu8
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team