I'm working on a python 3 stack for Fedora 13,
parallel-installable with
the default python 2 stack [1]
I've attempted to package python 3, and package some python modules for
python 3. So far, I've got a "python3-rpm", a "python3-lxml",
and two
different ways of packaging "python3-setuptools", though none of these
are actually in our CVS yet [2].
Thanks everyone for your help so far.
In doing so, I've been writing some proposals on packaging guidelines
for Python 3 - both for secondary python runtimes, and for modules for
them.
You can see what I've written so far here:
https://fedoraproject.org/wiki/PackagingDrafts/Python3
Obviously this is a work in progress but hopefully makes sense as far as
it goes.
I've also written a script to cover some of the automatable work that
can given python-foo.spec will write a python3-foo.spec
You can see the script here:
http://dmalcolm.fedorapeople.org/python3-packaging/rpm2to3.py
I got over-ambitious with this script: it can also be given a target
srpm, and will then checkout the python 2 srpm, convert to python 3,
then recursively walk the build requirements, building the python 3
packages in mock, attemping to build all a stack all the way up to the
given srpm... well, that was the theory. However, most packages seem to
need at least a little manual cleanup, and so I never managed to get far
up the stack - and this is no substitute for actually engaging with the
various upstream projects and working on python 3 support in the manner
that each upstream wants (e.g. do they want a unified trunk for 2 and 3
vs separate branches)
Thoughts?
Dave
Look very nice, looking forward to test it, when the needed stuff hits
the F13 repos.
Thanks for the good work.
Tim