Bug 1309267

Summary: python-taskflow: Provide a Python 3 subpackage
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: python-taskflowAssignee: Alan Pevec (Fedora) <apevec>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: apevec, eharney, karlthered, lbalhar, pronix.service
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-31 22:20:24 UTC Type: Bug
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: 1285816, 1312032    
Attachments:
Description Flags
0001-move-to-python3.patch
none
add python3 and python2 subpackages and required deps for docs generation none

Description Petr Viktorin (pviktori) 2016-02-17 10:48:48 UTC
Upstream, this software supports Python 3. Please provide a Python 3
package for Fedora.


According to the Python packaging guidelines [0], software must be
packaged for Python 3 if upstream supports it.
The guidelines give detailed information on how to do this, and even
provide an example spec file [1].

The current best practice is to provide subpackages for the two Python
versions (called "Common SRPM" in the guidelines). Alternatively, if
nothing depends on your Python2 package, you can just switch to Python 3
entirely.

It's fine to do this in Rawhide only.


If anything is unclear, or if you need any kind of assistance with the
porting, you can ask on IRC (#fedora-python on Freenode), or reply here.
We'll be happy to help!


[0] https://fedoraproject.org/wiki/Packaging:Python
[1] https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file

Comment 1 Jan Kurik 2016-02-24 15:24:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 dima 2016-07-15 20:39:31 UTC
Created attachment 1180279 [details]
0001-move-to-python3.patch

hello
it is patch for use python3 for fedora os

Comment 3 dima 2016-07-16 12:02:22 UTC
PY3PATCH-AVAILABLE

Comment 4 Lumír Balhar 2016-07-28 08:03:16 UTC
Hello.

Thank you for your patch. I am reviewing it and it looks like you want to build it for Python2 *or* Python3 but better is to build ported packages for both version of Python (in separated subpackages).

Also, your patch needs to be rebased and there are missing changelog entry for your changes.

Please look at this guideline which can lead you step by step in porting Python RPM: http://python-rpm-porting.readthedocs.io/en/latest/index.html

If I can help you with something do not hesitate to contact me.

Have a nice day.

Comment 5 dima 2016-07-28 08:06:25 UTC
thanks for feedback
today evening i will update it.

Comment 6 dima 2016-07-31 17:40:33 UTC
Created attachment 1186157 [details]
add python3 and python2 subpackages and required deps for docs generation

add python3 and python2 subpackages and required deps for docs generation

Comment 7 Haïkel Guémar 2016-07-31 22:20:24 UTC
Fixed in rawhide.