Bug 1309311

Summary: python-tuskarclient: Provide a Python 3 subpackage
Product: [Fedora] Fedora Reporter: Petr Viktorin <pviktori>
Component: python-tuskarclientAssignee: Jason E. Rist <jrist>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dkrejci, hguemar, jomara, jrist, mrunge
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-08 18:31:38 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:
Bug Depends On:    
Bug Blocks: 1285816    

Description Petr Viktorin 2016-02-17 12:39:27 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:37 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 Dominika Krejčí 2016-04-20 13:02:32 UTC
Hello Jason,

Do you need any help adding Python 3 support to the RPM?

If you need more instructions, a [guide] for porting Python-based RPMs is available.

[guide] http://python-rpm-porting.readthedocs.org/en/latest/index.html

Comment 3 Jason E. Rist 2016-04-20 14:02:34 UTC
Hi Dominika - I don't think so - this product is entirely deprecated.

Comment 4 Dominika Krejčí 2016-04-20 14:27:12 UTC
Hi,
I'm collecting information on Python 2-only packages. Could you tell me more about the state of this package?

Is it just not useful to anyone any more? (In that case, should it be removed from Fedora?) Or is it the case that new software should not be built on this package, but there still can be some users that need it?

Was the project replaced by another alternative? (I'd like to point people to that alternative if there is one.)

Comment 5 Jason E. Rist 2016-04-20 15:21:20 UTC
This package should be deprecated and removed, as it serves no purpose. 

The project is replaced with a few alternatives - the tuskarclient will be replaced by an API provided by Mistral and TripleO - https://github.com/dprince/tripleo-mistral-workflows and https://github.com/openstack/python-tripleoclient and the UI is replaced by TripleO UI - https://github.com/openstack/tripleo-ui

Comment 6 hguemar 2016-07-08 18:31:38 UTC
We managed to retire python-tuskarclient from rawhide with Jason, so we can close this ticket!