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 1500791 - clustersos: Switch to Python 3
Summary: clustersos: Switch to Python 3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clustersos
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jake Hunsaker
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
 
Reported: 2017-10-11 13:25 UTC by Iryna Shcherbina
Modified: 2017-10-25 23:10 UTC (History)
1 user (show)

Fixed In Version: clustersos-1.2.0-3.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-25 23:10:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Iryna Shcherbina 2017-10-11 13:25:48 UTC
This software supports Python 3, however no Python 3 package is available 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].

Since users aren't expected to import this tool from Python code,
you can just switch to /usr/bin/python3. Alternatively, if you want or
need to keep a Python 2 version, the current best practice is to provide
subpackages -- this is called "Common SRPM" in the guidelines.

If you need more instructions, a guide for porting Python-based RPMs is
available at [2].
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
[2] http://python-rpm-porting.readthedocs.io/

Comment 1 Jake Hunsaker 2017-10-11 17:02:53 UTC
This is fixed upstream, Koji builds are failing though so I need to look into that.

Hopefully will have something in Bodhi today/tomorrow.

Comment 2 Jake Hunsaker 2017-10-11 19:38:35 UTC
I have pushed an update to rawhide that moves clustersos to python3 in clustersos-1.2.0-3

Even though this is raised against rawhide, I'll keep it open while the same update moves through bodhi for the earlier releases, since they have the same requirement.

Comment 3 Fedora Update System 2017-10-11 19:39:44 UTC
clustersos-1.2.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-006d70ff90

Comment 4 Fedora Update System 2017-10-13 04:23:13 UTC
clustersos-1.2.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-006d70ff90

Comment 5 Fedora Update System 2017-10-25 23:10:02 UTC
clustersos-1.2.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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