Bug 1309267 - python-taskflow: Provide a Python 3 subpackage
python-taskflow: Provide a Python 3 subpackage
Product: Fedora
Classification: Fedora
Component: python-taskflow (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Alan Pevec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-17 05:48 EST by Petr Viktorin
Modified: 2016-07-31 18:20 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-31 18:20:24 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)
0001-move-to-python3.patch (4.30 KB, patch)
2016-07-15 16:39 EDT, dima
no flags Details | Diff
add python3 and python2 subpackages and required deps for docs generation (5.31 KB, patch)
2016-07-31 13:40 EDT, dima
no flags Details | Diff

  None (edit)
Description Petr Viktorin 2016-02-17 05:48:48 EST
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

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 10:24:10 EST
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:
Comment 2 dima 2016-07-15 16:39 EDT
Created attachment 1180279 [details]

it is patch for use python3 for fedora os
Comment 3 dima 2016-07-16 08:02:22 EDT
Comment 4 Lumír Balhar 2016-07-28 04:03:16 EDT

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 04:06:25 EDT
thanks for feedback
today evening i will update it.
Comment 6 dima 2016-07-31 13:40 EDT
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 18:20:24 EDT
Fixed in rawhide.

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