Red Hat Bugzilla – Bug 1024796
fedora-packager: Use Python 3 instead of Python 2
Last modified: 2017-11-16 15:07:14 EST
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)
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:
Zbigniew, I don't understand why this bug should depend on whether 2to3, pynche, msgfmt.py, pygettext.py, smtpd.py come from python-tools or python3-tools. Care to explain?
Yeah, wrong bug.
Ville Skyttä: The link you posted is broken.
Dennis Gilmore / maintainer: Is there any progress on this? Are you interested in pull requests?
I'd like to see fedora-client to be ported to python3 for making fedora-easy-karma work (see bug #1329629)
(In reply to Christian Stadelmann from comment #5)
> Ville Skyttä: The link you posted is broken.
I suppose a pagure update or something has broken it. Anyway, that PR has been merged, https://pagure.io/fedora-packager/3a597f82f0e8e464f859458e4230f2e1e7730517
AFAICS the next step for the fedora_cert part would be to create python2-fedora-cert and python3-fedora_cert subpackages that provides the modules for each python version and then make the fedora-cert tool use python3 for F24+. For F23- and EPEL the tool needs to use python or should at least depend on the python2 subpackage to not break dependencies of other tools, since there is no separate module subpackage atm.
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.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
fedora-packager-0.6.0.1-3.fc27.noarch still uses python2.