From Fedora Project Wiki
No edit summary
 
(67 intermediate revisions by 2 users not shown)
Line 45: Line 45:
== Current status ==
== Current status ==
* Targeted release: [[Releases/22 | Fedora 22 ]]  
* Targeted release: [[Releases/22 | Fedora 22 ]]  
* Last updated: 2014-11-25
* Last updated: 2014-12-19
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Bugzilla states meaning as usual:
Bugzilla states meaning as usual:
Line 54: Line 54:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1181570 #1181570]


== 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. -->
This change proposal aims to get wxPython 3.0 (Python bindings for the wxWidgets GUI library) packaged and into Fedora.  Currently Fedora has wxPython 2.8 which has not been updated since 2011.
This change proposal aims to get wxPython 3.0 (Python bindings for the wxWidgets GUI library) packaged and into Fedora.  Currently Fedora has wxPython 2.8 which has not been updated since 2011.  The plan is to make replace wxPython 2.8 with wxPython 3.0 and fix any dependent packages that may have issues with wxPython 3.0.


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 67: Line 67:
* Proposal owners:
* Proposal owners:
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
# Update existing wxPython package so that it is co-installable with wxPython 3 ([https://bugzilla.redhat.com/show_bug.cgi?id=1142515 currently in progress])
# Update existing wxPython package to wxPython 3 and ensure it builds/works in Rawhide.
# Get wxPython 3 through the package review process, built, and ensure it can co-exist with wxPython 2.8 package
# In conjunction with the wxPython dependent package maintainers, test dependent packages to ensure they work correctly with wxPython 3.  Assist with porting issues.


* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Other developers: <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
# For maintainers of packages that depend on wxPython, after wxPython 3 is packaged, verify that their packages continue to use wxPython 2.8 correctly when wxPython 3.0 is co-installedA small change may be required to some packages to ensure they select wxPython 2.8 specifically.
# For maintainers of packages that depend on wxPython: test the dependent packages to ensure they work correctly wxPython 3.0.  Update the dependent packages as needed to support wxPython 3.0.  The API hasn't changed much between wxPython 2.8 and 3.0, but some changes may be required.
# Optional: switch packages to use wxPython 3.0.  This can be done package-by-package as time permits.


* Release engineering: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: None <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  -->


* Policies and guidelines: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Policies and guidelines: None <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Do the packaging guidelines or other documents need to be updated for this feature?  If so, does it need to happen before or after the implementation is done?  If a FPC ticket exists, add a link here. -->
<!-- Do the packaging guidelines or other documents need to be updated for this feature?  If so, does it need to happen before or after the implementation is done?  If a FPC ticket exists, add a link here. -->


Line 85: Line 84:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)
User written wxPython applications may require a small amount of porting, but mostly wxPython 2.8 is forward compatible with wxPython 3.0.


== How To Test ==
== How To Test ==
Line 103: Line 102:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)  
No special hardware or data is required.  To test, one would install a wxPython-dependent package and verify that it functions as it did with wxPython 2.8 (other than possible GTK2 vs GTK3 UI differences).


== User Experience ==
== User Experience ==
<!-- If this change proposal is noticeable by its target audience, how will their experiences change as a result?  Describe what they will see or notice. -->
<!-- If this change proposal is noticeable by its target audience, how will their experiences change as a result?  Describe what they will see or notice. -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)
For the most part, users will not notice any changes, other than the fact that wxPython applications will now look like GTK3 applications instead of GTK2.


== Dependencies ==
== Dependencies ==
Line 114: Line 113:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)  
The packages below depend on wxPython in Rawhide.  The wxPython 3 test/fix status will be tracked in the table below.
 
{| class="wikitable"
!|Package
!|Status
|-
|PyPE
|Needs Fixing (Patch Available) - [https://bugzilla.redhat.com/show_bug.cgi?id=1185600 #1185600]
|-
|PythonCard
|Tested by swt2c - Minor Deprecation Warning (Patch Available) ([https://bugzilla.redhat.com/show_bug.cgi?id=1190913 #1190913])
|-
|bibus
|Tested by swt2c - Minor Deprecation Warning (Patch Available) ([https://bugzilla.redhat.com/show_bug.cgi?id=1190916 #1190916])
|-
|congruity
|Tested - Working ([https://bugzilla.redhat.com/show_bug.cgi?id=1177990 #1177990])
|-
|cura
|Tested by swt2c - Seems to Work Fine
|-
|cycle
|Needs Fixing (Patch Available) - [https://bugzilla.redhat.com/show_bug.cgi?id=1190942 #1190942]
|-
|gitso
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1191304 #1191304]
|-
|gnumed
|Tested by swt2c - Seems to work OK (deprecation warning)
|-
|gnuradio
|Tested by swt2c/jskarvad - Works OK (patch incorporated)
|-
|grass
|Tested by swt2c - Seems to work OK
|-
|gtkwhiteboard
|Tested by swt2c - Minor Deprecation Warning ([https://bugzilla.redhat.com/show_bug.cgi?id=1191306 #1191306])
|-
|hugin
|Only used in one plugin - Help Requested
|-
|londonlaw
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1191318 #1191318]
|-
|mMass
|Tested by swt2c - Seems to work OK
|-
|metamorphose2
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1192253 #1192253]
|-
|openstv
|Tested - Working ([https://bugzilla.redhat.com/show_bug.cgi?id=1185599 #1185599])
|-
|peppy
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1192262 #1192262]
|-
|phatch
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1192867 #1192867]
|-
|plater
|Tested by swt2c - Seems to Work Fine
|-
|pronterface
|Tested by swt2c - Works OK, Some GTK errors and button sizing
|-
|pyhoca-gui
|Tested by swt2c/orion - Works OK (pending fixes by orion)
|-
|pymol-wxpython
|Package Maintainer Plans to remove wxPython dependency
|-
|pyobd
|Tested by swt2c - Seems to Work Fine
|-
|python-matplotlib-wx
|Help Requested
|-
|python-pyface-wx
|Help Requested
|-
|python-squaremap
|(RunSnakeRun) Tested by swt2c - Seems to Work Fine
|-
|rurple
|Tested by swt2c - Seems to Work OK (deprecation warning & GTK errors)
|-
|sidc-gui
|Help Requested
|-
|sk2py
|Needs Fixing - [https://bugzilla.redhat.com/show_bug.cgi?id=1194096 #1194096]
|-
|spe
|Needs Fixing (Patch Available) - [https://bugzilla.redhat.com/show_bug.cgi?id=1194105 #1194105]
|-
|taskcoach
|Fails if pygtk2 installed ([https://bugzilla.redhat.com/show_bug.cgi?id=1187849 #1187849])
|-
|timeline
|Tested by swt2c - Seems to Work Fine
|-
|wammu
|Tested by swt2c - Seems to Work Fine
|-
|winpdb
|Needs Fixing (Patch Available) - [https://bugzilla.redhat.com/show_bug.cgi?id=1194117 #1194117]
|-
|wxGlade
|Needs Fixing (Patch Available) - [https://bugzilla.redhat.com/show_bug.cgi?id=1190530 #1190530]
|}


== Contingency Plan ==
== Contingency Plan ==
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
* Contingency mechanism: (What to do?  Who will do it?) N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency mechanism: remove wxPython 3.0 and revert any dependent packages back to wxPython 2.8 <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
* Contingency deadline: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency deadline: Beta Freeze <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
* Blocks release? N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks release? No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks product? N/A (not a System Wide Change) <!-- Applicable for Changes that blocks specific product release/Fedora.next -->
* Blocks product? No <!-- Applicable for Changes that blocks specific product release/Fedora.next -->


== Documentation ==
== Documentation ==
Line 129: Line 238:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)
http://wxpython.org/migrationguide.php
 
Debian's wxPython 3.0 Migration Documentation/Tools: http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README


== Release Notes ==
== Release Notes ==
Line 138: Line 249:
-->
-->


[[Category:ChangePageIncomplete]]
== Upstream Bugs Reported ==
* wxGrid emits Invalid rectangle error under GTK3 ([http://trac.wxwidgets.org/ticket/16819 #16819] - FIXED)
* Crash when creating wx.FontDialog under GTK3 ([http://trac.wxwidgets.org/ticket/16820 #16820] - FIXED)
* wxPrintDialog creation fails - wxGTK3 ([http://trac.wxwidgets.org/ticket/16821 #16821] - FIXED)
* wxAboutBox - GtkDialog mapped without a transient parent - GTK3 ([http://trac.wxwidgets.org/ticket/16823 #16823] - FIXED)
* wxListCtrl emits Invalid rectangle error under GTK3 ([http://trac.wxwidgets.org/ticket/16862 #16862] - FIXED)
* wxFileDialog - GtkDialog mapped without a transient parent - GTK3 ([http://trac.wxwidgets.org/ticket/16863 #16863] - FIXED)
* GtkPrintOperation dialog creation fails when GTK is locally loaded ([https://bugzilla.gnome.org/show_bug.cgi?id=745065 BGO#745065] - FIXED)
 
[[Category:ChangeAcceptedF22]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 145: Line 265:


<!-- Select proper category, default is Self Contained Change -->
<!-- Select proper category, default is Self Contained Change -->
[[Category:SelfContainedChange]]
<!-- [[Category:SelfContainedChange]] -->
<!-- [[Category:SystemWideChange]] -->
[[Category:SystemWideChange]]

Latest revision as of 00:59, 12 May 2015


wxPython 3

Summary

Get wxPython 3 packaged and into Fedora.

Owner

Current status

Detailed Description

This change proposal aims to get wxPython 3.0 (Python bindings for the wxWidgets GUI library) packaged and into Fedora. Currently Fedora has wxPython 2.8 which has not been updated since 2011. The plan is to make replace wxPython 2.8 with wxPython 3.0 and fix any dependent packages that may have issues with wxPython 3.0.

Benefit to Fedora

This change brings a more modern wxPython to Fedora, including support for GTK3 (currently wxPython 2.8 uses GTK2). Additionally, it moves Fedora to a supported version of wxPython.

Scope

  • Proposal owners:
  1. Update existing wxPython package to wxPython 3 and ensure it builds/works in Rawhide.
  2. In conjunction with the wxPython dependent package maintainers, test dependent packages to ensure they work correctly with wxPython 3. Assist with porting issues.
  • Other developers:
  1. For maintainers of packages that depend on wxPython: test the dependent packages to ensure they work correctly wxPython 3.0. Update the dependent packages as needed to support wxPython 3.0. The API hasn't changed much between wxPython 2.8 and 3.0, but some changes may be required.
  • Release engineering: None
  • Policies and guidelines: None

Upgrade/compatibility impact

User written wxPython applications may require a small amount of porting, but mostly wxPython 2.8 is forward compatible with wxPython 3.0.

How To Test

No special hardware or data is required. To test, one would install a wxPython-dependent package and verify that it functions as it did with wxPython 2.8 (other than possible GTK2 vs GTK3 UI differences).

User Experience

For the most part, users will not notice any changes, other than the fact that wxPython applications will now look like GTK3 applications instead of GTK2.

Dependencies

The packages below depend on wxPython in Rawhide. The wxPython 3 test/fix status will be tracked in the table below.

Package Status
PyPE Needs Fixing (Patch Available) - #1185600
PythonCard Tested by swt2c - Minor Deprecation Warning (Patch Available) (#1190913)
bibus Tested by swt2c - Minor Deprecation Warning (Patch Available) (#1190916)
congruity Tested - Working (#1177990)
cura Tested by swt2c - Seems to Work Fine
cycle Needs Fixing (Patch Available) - #1190942
gitso Needs Fixing - #1191304
gnumed Tested by swt2c - Seems to work OK (deprecation warning)
gnuradio Tested by swt2c/jskarvad - Works OK (patch incorporated)
grass Tested by swt2c - Seems to work OK
gtkwhiteboard Tested by swt2c - Minor Deprecation Warning (#1191306)
hugin Only used in one plugin - Help Requested
londonlaw Needs Fixing - #1191318
mMass Tested by swt2c - Seems to work OK
metamorphose2 Needs Fixing - #1192253
openstv Tested - Working (#1185599)
peppy Needs Fixing - #1192262
phatch Needs Fixing - #1192867
plater Tested by swt2c - Seems to Work Fine
pronterface Tested by swt2c - Works OK, Some GTK errors and button sizing
pyhoca-gui Tested by swt2c/orion - Works OK (pending fixes by orion)
pymol-wxpython Package Maintainer Plans to remove wxPython dependency
pyobd Tested by swt2c - Seems to Work Fine
python-matplotlib-wx Help Requested
python-pyface-wx Help Requested
python-squaremap (RunSnakeRun) Tested by swt2c - Seems to Work Fine
rurple Tested by swt2c - Seems to Work OK (deprecation warning & GTK errors)
sidc-gui Help Requested
sk2py Needs Fixing - #1194096
spe Needs Fixing (Patch Available) - #1194105
taskcoach Fails if pygtk2 installed (#1187849)
timeline Tested by swt2c - Seems to Work Fine
wammu Tested by swt2c - Seems to Work Fine
winpdb Needs Fixing (Patch Available) - #1194117
wxGlade Needs Fixing (Patch Available) - #1190530

Contingency Plan

  • Contingency mechanism: remove wxPython 3.0 and revert any dependent packages back to wxPython 2.8
  • Contingency deadline: Beta Freeze
  • Blocks release? No
  • Blocks product? No

Documentation

http://wxpython.org/migrationguide.php

Debian's wxPython 3.0 Migration Documentation/Tools: http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

Release Notes

Upstream Bugs Reported

  • wxGrid emits Invalid rectangle error under GTK3 (#16819 - FIXED)
  • Crash when creating wx.FontDialog under GTK3 (#16820 - FIXED)
  • wxPrintDialog creation fails - wxGTK3 (#16821 - FIXED)
  • wxAboutBox - GtkDialog mapped without a transient parent - GTK3 (#16823 - FIXED)
  • wxListCtrl emits Invalid rectangle error under GTK3 (#16862 - FIXED)
  • wxFileDialog - GtkDialog mapped without a transient parent - GTK3 (#16863 - FIXED)
  • GtkPrintOperation dialog creation fails when GTK is locally loaded (BGO#745065 - FIXED)