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
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
Sorry my delay, I'm working in this moment for adding Python 3 support, thanks so much for attention and tips.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
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
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
Please, may I ask to review the new specfile?
Updated specfile patch as Pagure PR: https://src.fedoraproject.org/rpms/python-martian/pull-request/1
Hello Marcelo, thank you that you have merged the PR. Please, could you push the update in Fedora?
python-martian-0.15-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f9af104cd6
python-martian-0.15-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4c982775c6
Built and pushed updates for F26 and F27.
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
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
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.
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.