oget wrote [http://oget.fedorapeople.org/python27/py27check.py a script] to report on remaining problems.

+

+

The results can be seen [http://oget.fedorapeople.org/python27/python-27-rebuild-errors-LATEST.html here]

Tracker bug for packages that fail to rebuild:

Tracker bug for packages that fail to rebuild:

Line 32:

Line 36:

To make it easier to track things, dmalcolm has been filing bugs using [https://bugzilla.redhat.com/enter_bug.cgi?alias=&assigned_to=&attachurl=&blocked=619913&bug_file_loc=http%3A%2F%2F&bug_severity=medium&bug_status=NEW&cf_build_id=&cf_clone_of=&cf_cust_facing=---&cf_devel_whiteboard=&cf_environment=&cf_internal_whiteboard=&cf_issuetracker=&cf_qa_whiteboard=&cf_targetrelease=---&comment=The%20package%20needs%20to%20be%20rebuilt%20against%20python%202.7%20in%20both%20F14%20and%20devel.%0D%0A%0D%0AInformation%20on%20the%20new%20%22dist-git%22%20system%20can%20be%20seen%20here%3A%0D%0A%20%20http%3A%2F%2Ffedoraproject.org%2Fwiki%2FUsing_Fedora_GIT%0D%0A%0D%0AInformation%20on%20common%20difficulties%20with%20Python%202.7%20rebuilds%20can%20be%20seen%20here%3A%0D%0A%20%20https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFeatures%2FPython_2.7%0D%0A%0D%0AOnce%20it%27s%20been%20successfully%20rebuilt%20for%20F14%2C%20an%20update%20needs%20to%20be%20filed%20to%20get%20the%20rebuild%20into%20F14%3A%0D%0A%20%20https%3A%2F%2Fadmin.fedoraproject.org%2Fupdates%2Fnew%2F%0D%0A%0D%0APlease%20add%20this%20bug%20to%20the%20update%2C%20to%20make%20it%20easy%20to%20track%20what%27s%20been%20done%2C%20and%20what%27s%20left%20to%20do.%0D%0A%0D%0AThanks!&contenttypeentry=&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&data=&deadline=&defined_cf_partner=&dependson=&description=&estimated_time=0.0&external_bug_id=&external_id=0&flag_type-155=X&flag_type-16=X&flag_type-65=X&flag_type-66=X&flag_type-67=X&form_name=enter_bug&keywords=&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Linux&priority=low&product=Fedora&qa_contact=&rep_platform=All&short_desc=needs%20to%20be%20rebuilt%20against%20python%202.7%20in%20F14%20and%20devel&status_whiteboard=&target_milestone=---&version=14 this template] against the broken packages. Please set the component and add the name of the component to the front of the subject of the bug. Once an update has been created, the bug should be flipped over to the MODIFIED status, to make it easy to see what works remain.

To make it easier to track things, dmalcolm has been filing bugs using [https://bugzilla.redhat.com/enter_bug.cgi?alias=&assigned_to=&attachurl=&blocked=619913&bug_file_loc=http%3A%2F%2F&bug_severity=medium&bug_status=NEW&cf_build_id=&cf_clone_of=&cf_cust_facing=---&cf_devel_whiteboard=&cf_environment=&cf_internal_whiteboard=&cf_issuetracker=&cf_qa_whiteboard=&cf_targetrelease=---&comment=The%20package%20needs%20to%20be%20rebuilt%20against%20python%202.7%20in%20both%20F14%20and%20devel.%0D%0A%0D%0AInformation%20on%20the%20new%20%22dist-git%22%20system%20can%20be%20seen%20here%3A%0D%0A%20%20http%3A%2F%2Ffedoraproject.org%2Fwiki%2FUsing_Fedora_GIT%0D%0A%0D%0AInformation%20on%20common%20difficulties%20with%20Python%202.7%20rebuilds%20can%20be%20seen%20here%3A%0D%0A%20%20https%3A%2F%2Ffedoraproject.org%2Fwiki%2FFeatures%2FPython_2.7%0D%0A%0D%0AOnce%20it%27s%20been%20successfully%20rebuilt%20for%20F14%2C%20an%20update%20needs%20to%20be%20filed%20to%20get%20the%20rebuild%20into%20F14%3A%0D%0A%20%20https%3A%2F%2Fadmin.fedoraproject.org%2Fupdates%2Fnew%2F%0D%0A%0D%0APlease%20add%20this%20bug%20to%20the%20update%2C%20to%20make%20it%20easy%20to%20track%20what%27s%20been%20done%2C%20and%20what%27s%20left%20to%20do.%0D%0A%0D%0AThanks!&contenttypeentry=&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&data=&deadline=&defined_cf_partner=&dependson=&description=&estimated_time=0.0&external_bug_id=&external_id=0&flag_type-155=X&flag_type-16=X&flag_type-65=X&flag_type-66=X&flag_type-67=X&form_name=enter_bug&keywords=&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Linux&priority=low&product=Fedora&qa_contact=&rep_platform=All&short_desc=needs%20to%20be%20rebuilt%20against%20python%202.7%20in%20F14%20and%20devel&status_whiteboard=&target_milestone=---&version=14 this template] against the broken packages. Please set the component and add the name of the component to the front of the subject of the bug. Once an update has been created, the bug should be flipped over to the MODIFIED status, to make it easy to see what works remain.

−

oget wrote [http://oget.fedorapeople.org/python27/py27check.py a script] to report on remaining problems.

−

−

The results can be seen [http://oget.fedorapeople.org/python27/python-27-rebuild-errors-20100730-3.html here]

−

−

=== Packages waiting on other packages ===

−

<!-- please use * to indicate the hierarchy of build-time dependencies here -->

* '''IN BODHI''' [https://admin.fedoraproject.org/updates/cyphesis-0.5.24-1.fc14 cyphesis]: Presently built and in the testing repo but regression tests have been disabled and maintainer has not looked at it. See https://bugzilla.redhat.com/show_bug.cgi?id=620298

+

* [http://koji.fedoraproject.org/koji/buildinfo?buildID=187814 antlr3] had a build dependency on a non-existing package, maven2-plugin-antlr. Now that the dependency has been packaged, antlr3 is built and submitted to [https://admin.fedoraproject.org/updates/antlr3-3.2-11.fc14,antlr-maven-plugin-2.1-3.20101012svn12849.fc14 testing].

=== Common bugs ===

=== Common bugs ===

Line 187:

Line 160:

<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->

<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->

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

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

+

+

=== Caveat: PyCObject and warnings ===

+

Python provides various APIs for use by C extension modules. One of these APIs, PyCObject, was deprecated in Python 2.7, but there are a [https://bugzilla.redhat.com/showdependencytree.cgi?id=620842&hide_resolved=1 number of key modules that have not yet been ported to its replacement].

+

+

By default, deprecation warnings are ignored, so this will not cause problems.

+

+

However, if the standard warnings settings are overridden, you may see problems with these modules. In particular, if warnings have been set to "error", it is possible to make the Python interpreter abort or even segfault when importing these modules.

+

+

If you need to enable errors-for-warnings, please also add an override so that a PendingDeprecationWarning is merely logged, rather than raising an exception:

+

<pre>

+

>>> import warnings

+

>>> warnings.simplefilter('error')

+

>>> warnings.simplefilter('default', PendingDeprecationWarning)

+

</pre>

== Comments and Discussion ==

== Comments and Discussion ==

Line 197:

Line 184:

<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->

<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->

<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

To make it easier to track things, dmalcolm has been filing bugs using this template against the broken packages. Please set the component and add the name of the component to the front of the subject of the bug. Once an update has been created, the bug should be flipped over to the MODIFIED status, to make it easy to see what works remain.

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.

By default, deprecation warnings are ignored, so this will not cause problems.

However, if the standard warnings settings are overridden, you may see problems with these modules. In particular, if warnings have been set to "error", it is possible to make the Python interpreter abort or even segfault when importing these modules.

If you need to enable errors-for-warnings, please also add an override so that a PendingDeprecationWarning is merely logged, rather than raising an exception: