Packaging Python 3.4.0

Bohuslav Kabrda bkabrda at redhat.com
Tue Nov 5 12:29:35 UTC 2013


Hi all,
I started working on updating python3 to 3.4.0. So far, this is only in a private branch "python3.4" in dist-git, since I'll need to get a Change approved for Fedora 21. I already created the Change [1], but I was told that it will get on FESCo schedule when Fedora 21 schedule and future is more clear, so for now I'll just work on Python 3.4.0.
When Python 3.4.0 reaches beta1 (which means feature freeze, which also means that the bytecode format should no longer change) - November 24 [2] - I plan to create a repo in Copr so that everyone has access to built RPMs, and also I want to start rebuilding as many packages as possible to see how they work with Python 3.4.
As for the current state of Python 3.4 in the dist-git branch:
- It still seems a bit unclear what upstream will do with the sha3 implementation (although they will probably keep it), so I didn't rebase the fips patch yet, there is still plenty of time for that.
- pep453 [3] (pip bootstraping) hasn't been implemented yet. The pep also contains recommendation for distro packagers, so here's what we should do.
-- Make a circular dependency between python3 and python3-pip (ugly, will require bootstraping with every new Python minor version).
-- Definitely delete bundled CA certificates and use system certificates instead.
-- Maybe remove the bundled pip (although this goes against the pep) and use python3-pip. E.g. everything would work as expected, but under the wraps, python3-pip package would be used. So when doing security updates, we'd just fix python3-pip. It is however true that if Fedora's pip would be different from the upstream bundled one, users may experience some behaviour differencies. I'd like to hear your opinions on how we should approach this.
- I'll be continuously working in the dist-git branch, so if you try it and something doesn't work, I'm just working on it or I plan to :) Patches are welcome.

Thanks,
Slavek.

[1] https://fedoraproject.org/wiki/Changes/Python_3.4
[2] http://www.python.org/dev/peps/pep-0429/
[3] http://www.python.org/dev/peps/pep-0453/


More information about the python-devel mailing list