#5 Port to Python 3
Opened by adamwill. Modified

bodhi-client has been made Python 3 only for F29 and later. This obviously means that fedora-gooey-karma must be ported to Python 3 to remain useful on F29+ systems.

It is currently not Python 3-compatible at all:

[adamw@adam fedora-kickstarts (master)]$ python3 /usr/bin/fedora-gooey-karma
  File "/usr/bin/fedora-gooey-karma", line 616
    print "Not in installed packages"
                                    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Not in installed packages")?

@sumantrom said he was interested in working on this.


We've retired this project in Fedora, and marked this pagure project as such, because it has been broken for too long and nobody cared. If anybody is interested in reviving it, it needs to get fixed in the first place, not just ported to python 3.

I would be glad to look at fixing this and porting it to Python 3.

Knock yourself out :-) Create a new branch based on devel and try to fix it (I suggest fixing before porting to python3, unless some dependency is already missing, because in that case you won't waste time porting if the fixing proves too hard in the end). Fingers crossed.

i want to fix this as part of gsoc

Great, please go ahead.

Great, please go ahead.

is there anything that i should know before i start porting ? and integrating bodhi2.

The project has been dead for a long time, and I don't have any experience with its code (@jskladan has some), so I can't really provide good guidance. Bodhi2 API support will be needed to make this tool functional, yes. When porting to Python3 you might hit issues with the graphical libraries (or perhaps some other ones) that it is using, some of them might be obsolete now.

The project has been dead for a long time, and I don't have any experience with its code (@jskladan has some), so I can't really provide good guidance. Bodhi2 API support will be needed to make this tool functional, yes. When porting to Python3 you might hit issues with the graphical libraries (or perhaps some other ones) that it is using, some of them might be obsolete now.

since @sumantro93 is the mentor for this as part of gsoc ,has some idea about the GUI.It is listed that the GUI would need some refresh or update(qt) might be broken.

is there anything that i should know before i start porting ? and integrating bodhi2.

The GUI library is all pyside which is for Qt 4.x and I'm not clear on how much longer that's going to be supported or around in Fedora so I'm not sure that using it in newer development would be the greatest idea ever. There does appear to be python3-pyside, so leaving it at Qt 4.x is an option.

If it's something we want to look at changing, there is a new version of pyside (now called Qt for Python) which works with Qt 5 but that's not packaged in Fedora (there does seem to be some interest, though). It doesn't look like pyqt5 is packaged in Fedora, either.

is there anything that i should know before i start porting ? and integrating bodhi2.

The GUI library is all pyside which is for Qt 4.x and I'm not clear on how much longer that's going to be supported or around in Fedora so I'm not sure that using it in newer development would be the greatest idea ever. There does appear to be python3-pyside, so leaving it at Qt 4.x is an option.
If it's something we want to look at changing, there is a new version of pyside (now called Qt for Python) which works with Qt 5 but that's not packaged in Fedora (there does seem to be some interest, though). It doesn't look like pyqt5 is packaged in Fedora, either.

So it is being actively packaged now by the op who was interested in it. If it dosen't happen by the end of Gsoc(if i get selected) i will package it myself as the final goal of the project.

hey, I want to work on this project under GSoC, I confirmed with @pac23 that he's not working on this anymore, but I cant contact @sumantrom (mentor). can someone please inform him about this, and/or tell me another way to contact him.

thanks

You can contact him at sumukher_at_redhat.com and I also pinged him.

Metadata