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 Tomas, 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
If you provided at least some preliminary patch to work on, it would be nice. I am currently very busy with other work.
I will do the patch, but there are some obstacles: There is a reference of Source10: missing-words.gz in the specfile, but the file is missing from dist-git. Could you please include it?
Sorry, I've found it among the sources.
Created attachment 1152349 [details] Scaffolding for Python 3 support. Not a complete patch. Hi Tomas, Dominika and I took a crack at it, but were unfortunately unable to fully port the spec file. Therefore, I have at least attached a patch that creates the scaffolding necessary for a new python3 subpackage. What is missing is actually generating the files for the Python 3 package. What might help you is looking at how Python 3 packages are generated for Debian, as you can see the Debian "spec file equivalent" in the unpacked tarball with the sources. You can find it at: cracklib-2.9.6/debian/rules. Thank you for your time.
Hello Tomas, any progress with our partial patch?
Unfortunately I am very busy with other things. But I'll try to look at it soon.
I think the best way would be to drop the Python support from cracklib completely. There is only one package (revelation) that currently depends on it according to: http://fedora.portingdb.xyz/pkg/cracklib/ And the revelation looks like a package with dead upstream.
system-config-rootpassword also depends on python2-cracklib and is now broken.
It has to be fixed to use python3-pwquality instead.