Bug 1024795 - bodhi: Use Python 3 as default
bodhi: Use Python 3 as default
Product: Fedora
Classification: Fedora
Component: bodhi (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lumír Balhar
Fedora Extras Quality Assurance
: Reopened
Depends On: 1024799
  Show dependency treegraph
Reported: 2013-10-30 09:00 EDT by Miro Hrončok
Modified: 2018-02-20 10:37 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-10-18 11:18:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Github fedora-infra/bodhi/issues/637 None None None 2016-10-18 11:18 EDT

  None (edit)
Description Miro Hrončok 2013-10-30 09:00:54 EDT
Hi, we would like to use Python 3 on the default installation instead of Python 2 on Fedora 22.


While this package is not in minimal buildroot, it belongs to fedora-packager stack. We would like to switch to Python 3 there as well.

The goal here is, that for F22 you should use Python 3 instead of Python 2 in this package.

Please, help us update to Python 3 flawlessly.

Check if upstream already support Python 3, if yes, use it and add the support to the package.

If upstream doesn't support Python 3 yet, encourage it to do so by sending patches and offering your help.

When upstream is dead or unwilling to support Python 3, say so and we can solve the problem together.

Chances are, that you ARE the upstream. In that case, everything is easier, just do it yourself.

There is a table on wiki, that should list your package. Chances are, that you can see an upstream link that covers the problem. Anyway, please update the table with information you know.


I offer my help with this task, so if you have no idea, how to work on this, or it is just not your priority, don't hesitate to ask for help.

(As you've already realized, this is a bulk text, so if something is not quite exact about your package, sorry for that, just ask)
Comment 1 Miro Hrončok 2013-10-30 18:10:27 EDT
To be clear: This is about the clinet. Porting server to Python 3 once would be great, but this not now our priority.
Comment 2 Miro Hrončok 2013-10-30 18:11:16 EDT
Comment 3 Jaroslav Reznik 2015-03-03 10:10:12 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
Comment 4 Fedora End Of Life 2016-07-19 06:31:26 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.
Comment 5 Jan Kurik 2016-07-26 00:35:32 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Comment 6 Randy Barlow 2016-10-17 17:19:23 EDT
The client and server code come from the same setup.py upstream, so it may be slightly tricky to get just the client to use Python 3. That said, it might not be too bad. I do intend to switch the Bodhi stack to be Python 3 once my dependencies are available in Python 3.
Comment 7 Randy Barlow 2016-10-18 11:18:33 EDT
There is an upstream issue for this, so let's track it there. Thanks for filing!
Comment 8 Randy Barlow 2016-10-18 11:19:40 EDT
I just realized that this ticket was being used to block the Python 3 tracker so we should keep it open. Apologies!
Comment 9 Fedora End Of Life 2017-02-28 04:35:39 EST
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
Comment 10 Randy Barlow 2017-07-11 13:42:12 EDT
Koji has been ported for Python 3 and was one of the major blockers. AFAIK fedmsg has not yet been ported and is also required before Bodhi can be ported. Once that is done there may still be some smaller dependencies, but it should be possible to get started then.
Comment 11 Randy Barlow 2017-10-19 16:21:35 EDT
Lumír Balhar has written me to say he's gonna help out with this work, so I'm going to assign this to him for now. Thanks Lumír!
Comment 12 Lumír Balhar 2017-12-11 05:00:17 EST
We are in the final phase of bringing Python 3 compatibility to Bodhi. I summarized all steps in github issue: https://github.com/fedora-infra/bodhi/issues/2059
Comment 13 Fedora End Of Life 2018-02-20 10:37:49 EST
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Note You need to log in before you can comment on or make changes to this bug.