[python-bugzilla] Patch for Python 3 Support

Toshio Kuratomi a.badger at gmail.com
Thu Oct 18 21:59:56 UTC 2012


On Thu, Oct 18, 2012 at 05:40:05PM -0400, Cole Robinson wrote:
> 
> During that time, epel5 /usr/bin/bugzilla has been completely busted due to a
> python2.5-ism:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=854979
> 
> It took 3 months for anyone to file a bug which leads me to believe that there
> aren't enough epel5 users to hold up taking this patch.
> 
> Ralph and/or Toshio, can you clarify a couple things for me?
> 
> 1) How can I test future changes to make sure they work on both python2 and
> python3?
> 
I'll let ralph answer this one.

> 2) If packaging this new version for epel6, I'd need to add a dep on python26
> and python-six. How to ensure that python-bugzilla is only used with python26
> in that case? (or does python26 basically replace the stock RHEL6 python version?)
>
For epel6, the system python is at version 2.6 already so no worries there.

For epel5, you'd need to package a separate python26-bugzilla package.  That
package will build and install into the python2.6/site-packages directory
and you'd change the requires to use python2.6 instead of python.

There's some information here: https://fedoraproject.org/wiki/Python26 and
I'd probably also take a look at some of the packages that are already
submitted.

> Also cc-ing wwoods, the main man in python-bugzilla land. Will, any issues
> with taking this patch soon-ish?
> 
> Thanks,
> Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/python-bugzilla/attachments/20121018/8a713b08/attachment.sig>


More information about the python-bugzilla mailing list