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 1449168 - waiverdb: Switch to Python 3
Summary: waiverdb: Switch to Python 3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: waiverdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: matt jia
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
 
Reported: 2017-05-09 10:57 UTC by Iryna Shcherbina
Modified: 2018-07-20 19:09 UTC (History)
3 users (show)

Fixed In Version: waiverdb-0.11.0-1.fc27 waiverdb-0.11.0-1.fc28 waiverdb-0.11.0-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-13 16:34:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Iryna Shcherbina 2017-05-09 10:57:46 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].

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 25 as well.


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 Dan Callaghan 2017-05-09 21:46:34 UTC
Hmmm. Well we are upstream :-) and I am not sure if we fully support Python 3 yet. We might have put that classifier into setup.py a bit prematurely. Our tests are not covering Python 3 at all right now. And our target deployment platform for waiverdb in Fedora infra is (for now) Python 2 on EPEL7.

Also waiverdb is an application, not a Python library, so I don't think there is any reason to ship both Python 2 and Python 3 versions at the same time. What we probably want to do is built it against Python 2 in EPEL7 and against Python 3 in Fedora -- after we ensure we are testing both of those configurations in our CI.

Comment 2 Iryna Shcherbina 2017-05-10 09:00:07 UTC
Thanks for your response, Dan. I must have got a wrong understanding that Python 3 is supported from the first look at the repository. You may close the issue, or keep it open until Python 3 is fully supported.

Comment 3 Dan Callaghan 2017-05-10 22:58:06 UTC
Oh yeah I thought we must have put in the "Programming Language :: Python :: 3" classifier, which I guess is the usual way of signifying proper Python 3 support. But it looks like we have *no* Trove classifiers declared at all. :-)

I will leave this open as an RFE because we certainly do want first-class Python 3 support, and waiverdb is a small and new project so it will be easy to achieve. We just need to make sure it's regularly tested.

Comment 4 Zbigniew Jędrzejewski-Szmek 2018-01-13 21:12:53 UTC
Any chance to move this forward? This is likely to be widely installed now because of https://pagure.io/fesco/issue/1810.

Comment 5 Dan Callaghan 2018-03-02 00:40:39 UTC
FYI upstream issue is: https://pagure.io/waiverdb/issue/91

I am planning to try and switch to Python 3 for Fedora while keeping Python 2 compatibility for EPEL7.

Comment 6 Fedora Update System 2018-03-12 15:48:27 UTC
waiverdb-0.9.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1ac1cb847d

Comment 7 Fedora Update System 2018-03-12 15:48:36 UTC
waiverdb-0.9.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9b51a1d05f

Comment 8 Fedora Update System 2018-03-12 15:48:49 UTC
waiverdb-0.9.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a33f1a19be

Comment 9 Fedora Update System 2018-03-12 19:41:31 UTC
waiverdb-0.9.1-1.fc27 has been pushed to the Fedora 27 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-2018-9b51a1d05f

Comment 10 Fedora Update System 2018-03-12 20:43:12 UTC
waiverdb-0.9.1-1.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-2018-a33f1a19be

Comment 11 Fedora Update System 2018-07-05 03:46:56 UTC
waiverdb-0.11.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-535b7a96a5

Comment 12 Fedora Update System 2018-07-05 03:47:12 UTC
waiverdb-0.11.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-eade1b9803

Comment 13 Fedora Update System 2018-07-05 03:47:22 UTC
waiverdb-0.11.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-29e2ddd9d4

Comment 14 Fedora Update System 2018-07-05 15:35:30 UTC
waiverdb-0.11.0-1.fc27 has been pushed to the Fedora 27 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-2018-eade1b9803

Comment 15 Fedora Update System 2018-07-05 16:09:53 UTC
waiverdb-0.11.0-1.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2018-29e2ddd9d4

Comment 16 Fedora Update System 2018-07-05 17:39:49 UTC
waiverdb-0.11.0-1.fc28 has been pushed to the Fedora 28 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-2018-535b7a96a5

Comment 17 Fedora Update System 2018-07-13 16:34:43 UTC
waiverdb-0.11.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2018-07-13 17:32:27 UTC
waiverdb-0.11.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2018-07-20 19:09:10 UTC
waiverdb-0.11.0-1.el7 has been pushed to the Fedora EPEL 7 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.