Unfortunately, as David says, it's not realistic to fix in RBTools. As I said above, it's resolved by updating to a newer Python-six, which is coming in RHEL-7.2. In the meantime, I'm going to provide a COPR repo with the newer Python-six package. On Fri, Jun 19, 2015 at 9:45 PM David Trowbridge <trowb...@gmail.com> wrote:
> This isn't something we can work around in RBTools (at least not without > regressing in our python 3.x compatibility). The problem is that older > versions of six didn't ship moves for all of the urllib/urllib2 changes. > > -David > > On Fri, Jun 19, 2015 at 6:31 PM, Christian Hammond < > christ...@beanbaginc.com> wrote: > >> Hey Stephen, >> >> I haven't been able to look into this yet (and will be out for a few >> days), but is this something that we can patch in our tree? Or is it a bug >> in six? >> >> If it's something we can fix in RBTools, then we can just fix it and get >> a new release out. >> >> Christian >> >> -- >> Christian Hammond - christ...@beanbaginc.com >> Review Board - https://www.reviewboard.org >> Beanbag, Inc. - https://www.beanbaginc.com >> >> -----Original Message----- >> From: Stephen Gallagher <step...@gallagherhome.com> >> Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>> >> Date: June 19, 2015 at 7:21:19 AM >> To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>> >> Subject: Re: ImportError: No module named urllib.parse >> >> > On Thu, Jun 18, 2015 at 5:04 PM John Schmitt <marmalo...@gmail.com> >> wrote: >> > >> >> >> >> >> >> On Thursday, June 18, 2015 at 1:33:55 PM UTC-7, Barret Rennie wrote: >> >> >> >>> Hi John, >> >>> >> >>> Yes thats what I mean. I’ll take a look at it. >> >>> >> >>> Can you tell me what version of six is installed? >> >>> >> >>> python-six-1.3.0-4.el7.noarch >> >> >> >> >> >> >> > >> > OK, so we have a problem here (and one I'm really embarassed not to have >> > noticed; I usually just bump and rebuild RBTools on EPEL 7 assuming it >> will >> > continue to work there the same way that it does on EPEL 6. >> > >> > Well, it turns out that EPEL 6 has a newer version of python-six than >> RHEL >> > 7 does, and RBTools is completely broken on the latter platform because >> of >> > it. (RHEL/CentOS 7.1 only ships with python-six 1.3.0 and the >> > six.move.urllib.parse support was added in python-six 1.4.0) >> > >> > The good news is that RHEL/CentOS 7.2 should include python-six >> 1.9.0[1]. >> > The bad news is that's a ways out, so this will be broken in the >> meantime. >> > >> > I have two choices: >> > 1) Revert RBTools back to a version prior to this requirement. That >> looks >> > like 0.6.3, which is almost certainly not a good idea. >> > 2) Ship RBTools broken in the standard repository and direct people to >> pull >> > an unofficial python-six package from a COPR repository. >> > >> > I'm going to go with 2) for now, updating the version of RBTools in >> EPEL to >> > have an explicit requirement on python-six >= 1.4 so that it won't be >> > installable without using my COPR repository until RHEL 7.2 is released. >> > >> > Given that RBTools has been broken like this for months, I suspect this >> > won't actually affect a great many people, but I'd still like to ask >> that >> > the Review Board devs add a note in the online documentation pointing >> > people to drop >> > >> https://copr.fedoraproject.org/coprs/sgallagh/EPEL7-rbtools/repo/epel-7/sgallagh-EPEL7-rbtools-epel-7.repo >> > into /etc/yum.repos.d until RHEL 7.2 is released. This repository will >> > contain only a rebased python-six package. >> > >> > It'll be available in a couple hours (right now, there's an unplanned >> > outage going on causing COPR builds to fail). >> > >> > >> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1185409 >> > >> > -- >> > Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> > Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> > Happy user? Let us know! https://www.reviewboard.org/users/ >> > --- >> > You received this message because you are subscribed to the Google >> Groups "reviewboard" >> > group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to reviewboard+unsubscr...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> > >> >> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "reviewboard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to reviewboard+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.