Bug 1549045

Summary: wxGlade: Switch to Python 3
Product: [Fedora] Fedora Reporter: Iryna Shcherbina <ishcherb>
Component: wxGladeAssignee: Sergio Basto <sergio>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hellwolf.misty, i, sergio, swt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-09 01:30:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1514291    
Bug Blocks: 1285816    

Description Iryna Shcherbina 2018-02-26 10:15:23 UTC
Upstream, this software supports Python 3 starting version 0.8.0b3 [0]. Please provide a Python 3 package for Fedora.


According to the Python packaging guidelines [1], software must be
packaged for Python 3 if upstream supports it.
The guidelines give detailed information on how to do this, and even
provide an example spec file [2].

Since users aren't expected to import this tool from Python code,
you can just switch to /usr/bin/python3. Alternatively, if you want or
need to keep a Python 2 version, the current best practice is to provide
subpackages -- this is called "Common SRPM" in the guidelines.

It's OK to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 28 as well.


If you need more instructions, a guide for porting Python-based RPMs is
available at [3].
If anything is unclear, or if you need any kind of assistance with the
porting, you can ask on IRC (#fedora-python on Freenode), or reply here.
We'll be happy to help!


[0] https://sourceforge.net/projects/wxglade/files/wxglade/0.8.0/
[1] https://fedoraproject.org/wiki/Packaging:Python
[2] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file
[3] http://python-rpm-porting.readthedocs.io/

Comment 1 Scott Talbert 2018-06-07 20:08:56 UTC
To switch to Python 3, wxGlade will need to switch to wxPython 4, but that is available now as well:
https://src.fedoraproject.org/rpms/python-wxpython4

Comment 2 Sergio Basto 2018-06-08 02:14:09 UTC
Do you want co-maintain this package ? 
I didn't have much time lately and also I'm away of development of wx.
In fact I just pick up this package because was about to be retired ...

Comment 3 Scott Talbert 2018-06-08 12:56:18 UTC
(In reply to Sergio Monteiro Basto from comment #2)
> Do you want co-maintain this package ? 
> I didn't have much time lately and also I'm away of development of wx.
> In fact I just pick up this package because was about to be retired ...

Sure, give me ACLs.

Comment 4 Sergio Basto 2018-06-08 14:24:59 UTC
I added you as admin