Proposal: Python 3 in Fedora 13

David Malcolm dmalcolm at redhat.com
Thu Oct 1 23:05:25 UTC 2009


On Thu, 2009-10-01 at 12:17 -0700, Toshio Kuratomi wrote:
> On 10/01/2009 10:15 AM, David Malcolm wrote:
> > Proposal: Python 3 in Fedora 13
> > 
> > "Evolutionary, not revolutionary": build a python 3 stack
> > parallel-installable with the python 2 stack.
> > 
> 
> First: Overall +1.
> 
> Note: liberally snipped, throughout.

[likewise snipped lots of stuff]


> > "Naming convention" proposal:
> > How does this sound:
> >   - an rpm with a "python-" prefix means a python 2 rpm, of the
> > "default" python 2 minor version (for Fedora this will be the most
> > recent stable upstream minor release, for EPEL it will be the minor
> > release of 2 that came with the distro, so 2.4 for EPEL5)
> > 
> >   - an rpm with a "python3-" prefix means a python 3 rpm, of the
> > "default" python 3 minor version (for Fedora this will be the most
> > recent stable upstream release)
> > 
> > What about packages without a "python-" prefix?  Proposal:  If upstream
> > has a naming convention for python2 vs python3, use it.  Otherwise, add
> > a "python3-" prefix to make things clear.  I'm not sure about the
> > details here.  Examples?
> >  
> +1 to the basics.  There are a lot of details to work out:

[snip the details]

Thanks.  Given that, I went ahead and created a Feature page for this:
https://fedoraproject.org/wiki/Features/Python3F13

So far it's mostly just a restatement of my post, though I've started
fleshing out some sections e.g. "how to test".  I've assumed the naming
convention from my post "python3" for the srpm, and for the symlink to
the binary.  

Feel free to dive in and edit.  I marked myself as owner of the feature
as I know I'm going to be able to devote a big chunk of time to this.
Hope that's OK.

We now have 3 competing srpms for Python 3:
(i) the one from ivazquez:
> >   http://ivazquez.fedorapeople.org/packages/python3000/
("python3000")

(ii) the one by Andrew McNabb:
https://bugzilla.redhat.com/show_bug.cgi?id=526126 (named "python3")

(iii) and the one I did, also named "python3":
> >   http://people.redhat.com/dmalcolm/python3/python3.spec
> > and an SRPM here:
> >   http://people.redhat.com/dmalcolm/python3/python3-3.1.1-1.fc13.src.rpm


> I was just going to suggest you contact ivazquez :-)  he's done a lot of
> work, both to get a python3 package working and on the update from
> python2.5 to python2.6.
I'm assuming ivazquez is seeing these emails (I _think_ he said he'd
seen it on IRC earlier today), and I added a link to my email to the
review bug above so hopefully Andrew is seeing this.

I hope to have a look at the commonality/differences between the 3
efforts tomorrow.  I think "python3" is a better name (if nothing else,
it's shorter to type!).

I'd like it if the eventually python 3 specfile could resemble the
python 2 specfile so that we can meaningfully look at the textual diffs
between them (but it may be necessary to clean up the python specfile to
achieve this!  I'll try to have a look at the merge-review)

Thanks for the feedback; hope this all sounds sane
Dave




More information about the fedora-devel-list mailing list