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 1324127 - python-martian: Provide a Python 3 subpackage
Summary: python-martian: Provide a Python 3 subpackage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-martian
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcelo Barbosa "firemanxbr"
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3 PY3PATCH-AVAILABLE
TreeView+ depends on / blocked
 
Reported: 2016-04-05 15:04 UTC by Tomas Orsava
Modified: 2017-09-30 07:21 UTC (History)
5 users (show)

Fixed In Version: python-martian-0.15-1.fc27 python-martian-0.15-1.fc26
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-30 06:47:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Update to 0.15 version including Python 3 subpackage (deleted)
2017-07-13 15:23 UTC, Jan Beran
no flags Details | Diff

Description Tomas Orsava 2016-04-05 15:04:04 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 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-05-04 13:12:46 UTC
Hello Marcelo,

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 Marcelo Barbosa "firemanxbr" 2016-05-15 12:30:26 UTC
Sorry my delay, I'm working in this moment for adding Python 3 support, thanks so much for attention and tips.

Comment 3 Jan Kurik 2016-07-26 04:48:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 4 Charalampos Stratakis 2017-03-20 14:23:14 UTC
It seems that the 0.14 version is not python3 ready, however while the 0.15 is, some files are only meant for python3 [0] which creates syntax errors during rpmbuild, when trying to build python2 and python3 subpackages.

[0] https://github.com/zopefoundation/martian/blob/master/src/martian/testing_compat3.py

Comment 5 Jan Beran 2017-07-13 15:23:04 UTC
Created attachment 1297739 [details]
Update to 0.15 version including Python 3 subpackage

I solved also the issue mentioned at [1] in the attached specfile.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1324127#c4

Comment 6 Jan Beran 2017-07-13 15:26:24 UTC
Please, may I ask to review the new specfile?

Comment 7 Jan Beran 2017-09-18 08:41:48 UTC
Updated specfile patch as Pagure PR:

https://src.fedoraproject.org/rpms/python-martian/pull-request/1

Comment 8 Jan Beran 2017-09-20 09:25:44 UTC
Hello Marcelo,

thank you that you have merged the PR. Please, could you push the update in Fedora?

Comment 9 Fedora Update System 2017-09-21 17:19:35 UTC
python-martian-0.15-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f9af104cd6

Comment 10 Fedora Update System 2017-09-21 17:21:57 UTC
python-martian-0.15-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4c982775c6

Comment 11 Charalampos Stratakis 2017-09-21 17:22:30 UTC
Built and pushed updates for F26 and F27.

Comment 12 Fedora Update System 2017-09-21 23:59:51 UTC
python-martian-0.15-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-2017-f9af104cd6

Comment 13 Fedora Update System 2017-09-22 05:53:59 UTC
python-martian-0.15-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-2017-4c982775c6

Comment 14 Fedora Update System 2017-09-30 06:47:07 UTC
python-martian-0.15-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 15 Fedora Update System 2017-09-30 07:21:55 UTC
python-martian-0.15-1.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.