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 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/
Hi Eduardo, do you need some help with this?
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Hi Eduardo, I wondered to make a spec file patch to provide a Python 3 subpackage. However, I have just realized that last upstream commit was in 2015, and an active fork is available on PyPI [https://pypi.python.org/pypi/darkslide]. Would you consider to replace python-landslide by the fork?
Created attachment 1211762 [details] Spec file with a Python 3 subpackage
Created attachment 1215718 [details] Spec file with a Python 3 package
Created attachment 1215817 [details] Spec file with a Python 3 subpackage Proper subpackage naming
Created attachment 1215988 [details] Spec file with a Python 3 subpackage
python-landslide-1.1.3-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d2c12c146f
python-landslide-1.1.3-5.fc25 has been pushed to the Fedora 25 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-d2c12c146f
Created attachment 1258175 [details] Patch to fix python-landslide dependencies Hello Eduardo, Jan's changes, proposed in the previous patch, were not fully applied, which resulted in two major problems with the package dependencies: * the build produces python-landslide RPM (rather than python3-landslide) which is missing all runtime dependencies, * the package now depends on both Python versions: $ dnf --disablerepo=* --enablerepo=rawhide repoquery --requires python-landslide /usr/bin/python /usr/bin/python3 python(abi) = 3.6 Please see the change attached, that should fix the issues. It fixes the shebang to avoid generating dependency on Python 2 and packages the python3- subpackage, on which the runtime dependencies are defined. Could you please review and apply the patch?
python-landslide-1.1.3-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-771628a897
python-landslide-1.1.3-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f4cc000f48
python-landslide-1.1.3-6.fc25 has been pushed to the Fedora 25 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-f4cc000f48
python-landslide-1.1.3-6.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-771628a897
python-landslide-1.1.3-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
python-landslide-1.1.3-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.