FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 11-10-2009, 11:13 PM
David Malcolm
 
Default Python 3 packaging

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

[1] https://fedoraproject.org/wiki/Features/Python3F13
[2] See https://bugzilla.redhat.com/showdependencytree.cgi?id=530636 for
the full details.

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 09:51 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org