Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1024816 - fedpkg: Use Python 3 instead of Python 2
Summary: fedpkg: Use Python 3 instead of Python 2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: cqi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1024819 1024823
Blocks: PY3PACKAGER PYTHON3
TreeView+ depends on / blocked
 
Reported: 2013-10-30 13:28 UTC by Miro Hrončok
Modified: 2018-05-17 05:58 UTC (History)
9 users (show)

Fixed In Version: fedpkg-1.33-1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-17 05:58:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2013-10-30 13:28:04 UTC
Hi, we would like to use Python 3 on the default installation instead of Python 2 on Fedora 22.

https://fedoraproject.org/wiki/Changes/Python_3_as_Default

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.

https://fedoraproject.org/wiki/User:Churchyard/python3#fedora-packager

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 Jaroslav Reznik 2015-03-03 15:10:26 UTC
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:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Rex Dieter 2016-03-20 01:44:26 UTC
marking futurefeature

Comment 4 Miro Hrončok 2018-04-11 10:15:47 UTC
cqi, let me know if I can help by creating a spec update for this.

Comment 5 cqi 2018-04-11 11:29:33 UTC
Hi Miro, it is really appreciated if you can help to patch the spec for Python 3 package. I'm going to release a fedpkg Python 3 package for next version as well. 

There is one thing that has to be considered, that is which package, python2-fedpkg or python3-fedpkg, should provide the capability fedpkg? Do you have any idea?

fedpkg will only be built in Fedora and EPEL.

Comment 6 Miro Hrončok 2018-04-11 11:39:49 UTC
fedpkg command shall be provided by python3 package on fedora. the version used on epels is not guidelined. I'll prep something via a PR.


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