(→Packages waiting on other packages: pyatspi is done) |
|||
Line 44: | Line 44: | ||
* hamster-applet needs: | * hamster-applet needs: | ||
** many gnome-python2-* packages from gnome-python2-desktop. Specifically gnome-python2-bonobo which needs: | ** many gnome-python2-* packages from gnome-python2-desktop. Specifically gnome-python2-bonobo which needs: | ||
** pyorbit | ** pyorbit: DONE | ||
** gnome-doc-utils | ** gnome-doc-utils | ||
* sugar-tamtam needs: | * sugar-tamtam needs: |
Revision as of 01:26, 26 July 2010
Python 2.7
Summary
Update the system Python 2 stack in Fedora from 2.6 to 2.7
Owner
- Name: Dave Malcolm
- Email: <dmalcolm@redhat.com>
Current status
- Targeted release: Fedora 14
- Last updated: 2010-07-25
- Percentage of completion: 60%
Packages built into dist-f14-py27-rebuild; currently 170 failing rebuilds
Packages waiting on other packages
- kdebindings, pyactivemq need:
- boost DONE needed :
- openmpi DONE (applied workaround for bug 617766)
- boost DONE needed :
- python-execnet needs:
- protobuf needed:
- subversion (see above)
- protobuf needed:
- revelation needs gnome-python2-applet from:
- gnome-python2-desktop, which fails to build against gtk-3.0, apparently due to a missing header
- python-networkx needs:
- python-matplotlib
- scipiy fails, looks like this upstream bug. May need this patch to numpy (not sure yet)
- python-matplotlib
- gget needs
- notify-python fails to build with /usr/include/pygtk-2.0/pygtk/pygtk.h:8:21: fatal error: gtk/gtk.h: No such file or directory
- gnome-package-kit needs:
- PackageKit fails to build in .gir gfeneration
- sympy needed:
- python-mpmath DONE
- hamster-applet needs:
- many gnome-python2-* packages from gnome-python2-desktop. Specifically gnome-python2-bonobo which needs:
- pyorbit: DONE
- gnome-doc-utils
- sugar-tamtam needs:
- csound
- boost-python DONE
- build parameter changes
- gnome-python2-rsvg
- csound
- ipa needs
- TurboGears
- setools-libs-python from setools
- python-paste-script
- python-ruledispatch
- python-turbojson needs:
- python-peak-rules: fails in %check apparently within peak-util-assembler (is this 2.7-compatible?)
- python-ruledispatch (fails in %check, with "KeyError: 320" in 4 tests, and "AssertionError: 42529136 == Pointer(<invalid at 0x0x288f170>)" in another)
- python-formencode
- python-cherrypy2
- conduit needs
- pygoocanvas
- gnome-doc-utils
- caribou needs
- python-virtkey
- pyclutter
- gnome-doc-utils
- telepathy-farsight needs
- farsight2 needs:
- gupnp-igd-python
- farsight2 needs:
- lazygal fails with AttributeError: 'module' object has no attribute 'sysconfig' (distutils module)
- planner needs:
- gnome-doc-utils
- gnome-python2-gnomevfs
- gnome-python2-gnome
- orca needs:
- gnome-python2-bonobo
- gnome-python2-gconf
- gnome-python2-libwnck
- pootle needs:
- aeidon
- python-iniparse
- python-lxml fails to build inside the 2to3 invocation in fix_itertools_imports.py
- translate-toolkit
- hulahop needs
- xulrunner-python (dmalcolm is not in ACL for rpms/xulrunner/devel)
- onboard fails to build with /usr/bin/python: can't open file 'setup.py': Errno 2 No such file or directory
Common bugs
gobject-introspection's /usr/bin/g-ir-scanner appears to be incompatible with python 2.7, this leads to anything building a .gir file failing.
This is currently blocking:
Detailed Description
- Python 2.7 was released on 2010-07-03
This will require a rebuild of everything with Requires: python(abi) = 2.6
. See Mass_Rebuild_SOP for how we do a full rebuild of everything - hopefully we can adapt the scripts there to accomplish the rebuild needed for Python 2.7. See Features/Python_2.7/MassRebuild for notes on this specific rebuild.
Porting
Hopefully, little to no porting will be required.
Some notes on changes that may require porting are given on the upstream wiki here: http://docs.python.org/dev/whatsnew/2.7.html#porting-to-python-2-7
Benefit to Fedora
Fedora aims to showcase the latest in free and open source software - we should have the most recent release of Python.
Scope
Python is pervasive in Fedora. Everything from yum to system-config-* to anaconda to pungi is written in Python.
How To Test
Interested testers do not need special hardware. If you have a favorite Python script, module, or application, please test it with Python 2.7 and verify that it still works as you expect.
My own test plan:
- Smoketest of the interpreter
- Run the upstream regression test suite
- Ensure that yum still works
- Ensure that anaconda still works
User Experience
Users should not notice any difference, other than the availability of the 2.7 interpreter
Dependencies
The list is too large to include here.
repoquery --whatrequires --alldeps -s "python(abi) = 2.6" | sort -u
indicates approximately 1200 rpms
Contingency Plan
- There is none. This is do-or-die.
Documentation
Release Notes
The system Python 2 stack has been upgraded to 2.7. For a list of changes see http://docs.python.org/dev/whatsnew/2.7.html