Gentoo Archives: gentoo-python

From: Mike Gilbert <floppym@g.o>
To: IAN DELANEY <della5@×××××××××.au>
Cc: gentoo-python <gentoo-python@l.g.o>, Gentoo Python Project <python@g.o>
Subject: [gentoo-python] Re: [gentoo-commits] gentoo-x86 commit in dev-python/logilab-common: logilab-common-0.59.1.ebuild ChangeLog
Date: Wed, 26 Jun 2013 16:28:43
Message-Id: CAJ0EP42HL4q7wzxUU=5hKDUNSuvVmJiP+jn5FehMb38Nc05U4Q@mail.gmail.com
1 On Wed, Jun 26, 2013 at 8:30 AM, IAN DELANEY <della5@×××××××××.au> wrote:
2 > On Mon, 24 Jun 2013 23:21:45 -0400
3 > Mike Gilbert <floppym@g.o> wrote:
4 >
5 >> On Tue, Jun 18, 2013 at 10:55 AM, Ian Delaney (idella4)
6 >> <idella4@g.o> wrote:
7 >> > idella4 13/06/18 14:55:23
8 >> >
9 >> > Modified: logilab-common-0.59.1.ebuild ChangeLog
10 >> > Log:
11 >> > add py3.3 support
12 >> >
13 >> > (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest
14 >> > commit with key 0xB8072B0D)
15 >> >
16 >> > Revision Changes Path
17 >> > 1.2
18 >> > dev-python/logilab-common/logilab-common-0.59.1.ebuild
19 >> >
20 >> > file :
21 >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild?rev=1.2&view=markup
22 >> > plain:
23 >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild?rev=1.2&content-type=text/plain
24 >> > diff :
25 >> > http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild?r1=1.1&r2=1.2
26 >> >
27 >> > Index: logilab-common-0.59.1.ebuild
28 >> > ===================================================================
29 >> > RCS
30 >> > file: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild,v
31 >> > retrieving revision 1.1 retrieving revision 1.2
32 >> > diff -u -r1.1 -r1.2
33 >> > --- logilab-common-0.59.1.ebuild 22 Apr 2013 07:18:10
34 >> > -0000 1.1 +++ logilab-common-0.59.1.ebuild 18 Jun 2013
35 >> > 14:55:23 -0000 1.2 @@ -1,10 +1,10 @@
36 >> > # Copyright 1999-2013 Gentoo Foundation
37 >> > # Distributed under the terms of the GNU General Public License v2
38 >> > -#
39 >> > $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild,v
40 >> > 1.1 2013/04/22 07:18:10 patrick Exp $ +#
41 >> > $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.1.ebuild,v
42 >> > 1.2 2013/06/18 14:55:23 idella4 Exp $
43 >> >
44 >> > EAPI=5
45 >> > # broken with python3.3, bug #449276
46 >> > -PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} )
47 >> > +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
48 >> >
49 >>
50 >> Why did you choose to ignore the comment above telling you that the
51 >> package is broken with python3.3?
52 >>
53 >> It seems pretty clear that this was not tested properly; the pytest
54 >> command immediately dies with the same error that is listed in the bug
55 >> report.
56 >>
57 >
58 > That would be a no. I always test and test b4 a commit, and frankly 8
59 > days ago is long enough that I can't recall since I've worked so many
60 > bumps and testsuites. Here you have really utterly lost me. the
61 > package may be broken, or the testsuite may be mis-matched to py3.3.
62 > Option 1 proves you right, option 2 makes for the testsuite needs
63 > fixing. Considering I spend 90 % of my time working testsuites in
64 > python, there is ample evidence that option 2 is quite a likely
65 > candidate. Python is riddled with packages that fail testsuites, no
66 > matter how many I seem to fix, it seems to make little impression. Why
67 > is logilab-common suddenly so precious?
68 >
69
70 Actually, in the case of logilab-common, both "option 1" and "option
71 2" are valid. The package is broken, and this causes the test suite to
72 fail.
73
74 The logilab-common package installs the pytest script. The pytest
75 script blows up when invoked under python3.3.
76
77 The logilab-common ebuild invokes pytest script to run its own test
78 suite. Thus, the test suite was also broken with python3.3.
79
80 >> Also, since logilab-common is broken with python3.3, that breaks astng
81 >> and pylint, which you also updated.
82 >
83 > Now what are we about here? Bringing py3.3 into the fold or not? Sure
84 > it makes sense to leave it on hold if it's actually broken, so frankly
85 > this makes for, despite after all this time and migrates and
86 > bumps, it hasn't been made clear that py3.3 need pass a testsuite,
87 > otherwise it's left on hold. I just can't see how this could occur
88 > weeks after unmasking py3.3 and beginning to add it to ebuilds as
89 > mgorny appeared to expect.
90 >
91
92 If the test suite fails for a given python version, you should not add
93 it to PYTHON_COMPAT. This applies to both masked and unmasked versions
94 of python. I don't know where you got the idea that we treat masked or
95 ~arch python versions differently in this regard.
96
97 There may be exceptions to this if you provide a reasonable
98 explanation. I have not seen one here.
99
100 > It's possible that I missed making it
101 > if [[ "${EPYTHON}" == 'python3.3' ]]; then
102 > einfo "python3.3 has failures in testsuite"
103 > as I said being now 8 days. I seem to recall adding that to something
104 > somewhere.
105 >
106
107 Adding python3_3 to PYTHON_COMPAT and then disabling the tests with
108 that python version is generally unacceptable. Again, there are
109 exceptions if you know what you are doing.
110
111 It certainly is not acceptable for logilab-common.
112
113 > So for the inside running on the testsuite buckling.
114 > # https://www.logilab.org/ticket/144526 was set by 1 Sean Santos, and
115 > the reviewed patch that passed by upstream oddly is a sham.
116 > Sean Santos gave them the key and he who patched it missed using it, so
117 > I made one that works for that issue. Fixing that sadly simply opened
118 > the gate to the next point where it stumbled.
119 > https://www.logilab.org/ticket/149345.
120 > This makes me wonder whether upstream are dropping the ball in writing
121 > their testsuites and not making them py3.3 capable.
122 >
123
124 This was not a problem caused by a broken test case; the test suite
125 errors out because the package itself is broken. There's a huge
126 difference.
127
128 > On further tree updates and futile attempts to figure out just what
129 > went awry, the net result a sham.
130 > As for pylint, I'm not even goin' there
131
132 Regarding pylint: If you will not to justify your actions or admit
133 that you made a mistake and change your actions moving forward, then
134 please stop committing things. I'm happy to have your help in bumping
135 packages, but throwing your hands up because I pointed out a problem
136 is not good.