From Fedora Project Wiki
(Done with conversion to System Wide Change)
 
(61 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-12-16
* 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.  The plan is to make wxPython 3.0 co-installable with wxPython 2.8, similarly to what has been done with the wxWidgets packages (wxGTK and wxGTK3).
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.
# If all wxPython-dependent packages get moved to wxPython 3.0, consider retiring wxPython 2.8 package.


* 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: switch the dependent packages to use wxPython 3.0.  This can be done package-by-package as time permits.  The API hasn't changed much between wxPython 2.8 and 3.0, but some changes may be required.
# 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.
# If a package cannot be moved to wxPython 3, after wxPython 3 is packaged, maintainers should verify that their packages continue to use wxPython 2.8 correctly when wxPython 3.0 is co-installed.  A small change may be required to some packages to ensure they select wxPython 2.8 specifically.


* Release engineering: None  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: None  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Line 115: Line 113:


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
These packages depend on wxPython: PyPE, PythonCard, bibus, congruity, cura, cycle, gitso, gnumed, gnuradio, grass, gtkwhiteboard, hugin, londonlaw, mMass, metamorphose2, openstv, peppy, phatch, plater, pronterface, pyhoca-gui, pymol-wxpython, pyobd, python-matplotlib-wx, python-pyface-wx, python-squaremap, rurple, sidc-gui, sk2py, spe, taskcoach, timeline, wammu, winpdb, wxGlade
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 ==
Line 141: Line 249:
-->
-->


[[Category:ChangeReadyForWrangler]]
== 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 -->

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)