Bug 1314029 - d-feet: Switch to Python 3
d-feet: Switch to Python 3
Product: Fedora
Classification: Fedora
Component: d-feet (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kalev Lember
Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3
  Show dependency treegraph
Reported: 2016-03-02 13:41 EST by Tomas Orsava
Modified: 2016-05-08 20:04 EDT (History)
3 users (show)

See Also:
Fixed In Version: d-feet-0.3.11-1.fc24
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-05-08 20:04:26 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)

  None (edit)
Description Tomas Orsava 2016-03-02 13:41:10 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].

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.

It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 24 as well.

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 Dominika Krejčí 2016-04-22 10:53:55 EDT
Hello Kalev,

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 2 Kalev Lember 2016-04-22 11:05:41 EDT
Sorry, I haven't gotten around to looking at it yet. If you guys already have a patch, please just go ahead and push it to git. Otherwise I'll get to it sooner or later, I promise :)
Comment 4 Fedora Update System 2016-05-03 05:54:27 EDT
d-feet-0.3.11-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7ad0b15901
Comment 5 Fedora Update System 2016-05-04 10:30:21 EDT
d-feet-0.3.11-1.fc24 has been pushed to the Fedora 24 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-2016-7ad0b15901
Comment 6 Tomas Orsava 2016-05-05 13:41:28 EDT
Thank you for your work, Kalev!
Comment 7 Fedora Update System 2016-05-08 20:04:23 EDT
d-feet-0.3.11-1.fc24 has been pushed to the Fedora 24 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.