From Fedora Project Wiki
(→‎Detailed Description: Python 2.7 has been released)
m (→‎Detailed Description: Change release date of 2.7 to that listed on http://python.org/download/releases/2.7/)
Line 31: Line 31:
== Detailed Description ==
== Detailed Description ==
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
<!-- Expand on the summary, if appropriate.  A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
* Python 2.7 was released on 2010-07-04
* Python 2.7 was released on 2010-07-03


This will require a rebuild of everything with <code>Requires: python(abi) = 2.6</code>.  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.
This will require a rebuild of everything with <code>Requires: python(abi) = 2.6</code>.  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.

Revision as of 20:47, 6 July 2010


Python 2.7

Summary

Update the system Python 2 stack in Fedora from 2.6 to 2.7

Owner

  • Email: <dmalcolm@redhat.com>

Current status

  • Targeted release: Fedora 14
  • Last updated: 2010-06-24
  • Percentage of completion: 10%

I have an src.rpm that builds: http://dmalcolm.fedorapeople.org/python-packaging/python-2.7-0.1.rc2.fc14.src.rpm

There's a successful scratch build here: http://koji.fedoraproject.org/koji/taskinfo?taskID=2271138

Not tested yet.

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.

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

What’s New in Python 2.7

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

Comments and Discussion