Red Hat Bugzilla – Bug 537266
Last modified: 2010-12-02 16:53:40 EST
I'm working on adding a python 3 stack to Fedora 13, parallel-installable with
the main python 2 stack:
There are two approaches I'm experimenting with to packaging modules for python
(a) create an separate specfile/srpm for the python 3 version
(b) extend an existing specfile so that it emits a python3- subpackage as
part of the build.
I experimented and was able to use babel.spec to create a python3-babel.spec that builds, using 2to3 at the end of the %prep phase, with some other fixups; it should be parallel-installable with the python 2 babel.
I haven't properly tested it yet, though.
Do you know what upstream's plans are for python 3 support?
Created attachment 369356 [details]
python3 build of babel, based on babel.spec
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
You can't just use 2to3 to do a python3 package for this 'because of a few reasons'.
Don't know, if this bug should stay open till a decision.