Bug 1311516 - python-cli: Provide a Python 3 subpackage [NEEDINFO]
python-cli: Provide a Python 3 subpackage
Status: NEW
Product: Fedora
Classification: Fedora
Component: python-cli (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marek Mahut
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-24 06:54 EST by Tomas Orsava
Modified: 2017-02-27 10:43 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
pviktori: needinfo? (mmahut)

Attachments (Terms of Use)

  None (edit)
Description Tomas Orsava 2016-02-24 06:54:52 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 Petr Viktorin 2016-04-19 09:18:49 EDT
Marek, do you need any help with packaging for Python 3?
Comment 2 Jan Kurik 2016-07-26 00:47:17 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Comment 3 Artem 2017-02-24 09:18:08 EST
Unfortunately upstream does not really support Python3.6. The fix is proposed via pull-request (pls note, that upstream has moved to https://github.com/geertj/python-cli)
Comment 4 Artem 2017-02-24 09:19:03 EST
I wanted to say not 3.6, but even current fedora Python3.5.2
Comment 5 Artem 2017-02-27 10:43:26 EST
Upstream owner has discontinued project (see https://github.com/geertj/python-cli/pull/3#issuecomment-282409089)

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