Bug 1627142

Summary: Retire supybot-fedora in Fedora 30+ (or port it to Python 3)
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: supybot-fedoraAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, igor.raits, infra-sig, kevin, mhroncok, ngompa13, pviktori, zach, zbyszek
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: 2019-05-20 14:34:32 UTC Type: ---
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:    
Bug Blocks: 1625773    

Description Miro Hrončok 2018-09-10 13:55:10 UTC
In line with the Mass Python 2 Package Removal [0], all (sub)packages of supybot-fedora were marked for removal:

 * supybot-fedora

According to our query, those packages only provide a Python 2 importable module. If this is not true, please tell us why, so we can fix our query.

Please retire your package in Rawhide (Fedora 30).

If there is no objection in a week, we will retire the package for you.

We hope this doesn't come to you as a surprise. If you want to know our motivation for this, please read the change document [0].

[0] https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Comment 1 Kevin Fenzi 2018-09-11 20:45:20 UTC
I have switched Limnoria over to python3 in rawhide/f30, and it's my hope that we can port this plugin to python3 instead of retiring it. Help welcome.

Comment 2 Miro Hrončok 2018-09-11 20:49:15 UTC
https://github.com/fedora-infra/supybot-fedora/blob/develop/test.py doesn't look very comprehensive.

If you give me some pointers about how to (attempt to) run this on Python 3, I can help porting it.

Comment 3 Kevin Fenzi 2018-09-11 21:16:47 UTC
That would be awesome. 

Install limnoria, run supybot-wizard to setup a config, run the bot, in msg to it you should be able to load pluginname 

http://doc.supybot.aperio.fr/en/latest/develop/index.html

has a plugin writers guide. In practice I don't think there will be much to change to get them python3 compliant...

Comment 4 Miro Hrončok 2018-09-11 22:56:07 UTC
I went as far as getting what's in https://github.com/fedora-infra/supybot-fedora/pull/55 and loading the plugin ends with:

fedora.client.ServerError: ServerError(https://admin.fedoraproject.org/accounts/user/list, -1, Request timed out after 240 seconds)

Comment 5 Miro Hrončok 2019-02-02 21:14:54 UTC
I haven't got anywhere since.

Is an official Fedora RPM package needed for the actual deployment? If not, shall we retire it* until it's ported?

* and supybot-fedmsg and supybot-koji

Comment 6 Kevin Fenzi 2019-02-04 00:34:37 UTC
Well, zodbot is currently deployed on a rhel7 host, so I suppose we could retire them in fedora until we have them ported... but that seems like more work than just porting them. 

Perhaps someone else on the infra-sig group could comment here?

Comment 7 Miro Hrončok 2019-02-04 09:40:35 UTC
Porting them would be much appreciated, I can help, but when I tired, I got non-python3 problems with running the thing. Somebody who understands the plugin and/or supybot/limnoria would get much better chance. I can even pair with such person via some screensharing service and we can try to work on this together.

Comment 8 Miro Hrončok 2019-02-28 18:22:14 UTC
No porting has been done. Retire?

Comment 9 Miro Hrončok 2019-05-11 23:46:57 UTC
OK, let's retire this in a ~week.

Comment 10 Miro Hrončok 2019-05-20 14:34:32 UTC
retired