Python 2.7 will reach end-of-life in January 2020, over 9 years after it was released. This falls within the Fedora 31 lifetime. Packages that depend on Python 2 are being switched to Python 3 or removed from Fedora: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages Python 2 will be retired in Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2 To help planning, we'd like to know the plans for skf's future. Specifically: - What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) - What are the upstream/community plans/timelines regarding Python 3? - What is the guidance for porting to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?) This bug is filed semi-automatically, and might not have all the context specific to skf. If you need anything from us, or something is unclear, please mention it here. Thank you.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages If you need any information or help, or if you need some more time, please let us know.
Please do understand that replying to more than 10 bugs with multiple questions in 2 weeks (3 comments means 2 weeks) is really hard for volunteers, thank you.
There is already python3 binding, however currently I don't know how to use it, contacting upstream
Thank you for the info. It seems that the Python bindings are generated by SWIG so it might be possible to switch it to Python 3. Let me know if you need any help.
Is there any issue we can follow?
While you may want me to do python stuff first, please understand that I have other lots of things to do and I can just look at one by one. Also please know that I've already imported some packages written in python2 to python3. Again I can do just one by one. Now I am doing ruby stuff first. Again I can do just one by one.
Once again, while I am going to work on this, I can do only one by one.
- The dependency for python2 is python2 bindings for skf - The upstream is active - There is already python3 bindings - The problem is that I don't know how to use python3 bindings - because skf (Simple "Kanji" Filter) is a tool for converting "non-utf8" string to another "non-utf8" (or utf-8) string, and as python3 changed string <-> binary handling heavily, simply compiling swig-generated python3 binding is not enough - I must find out how to use it - But again dependency for python2 is python2 bindings for skf, and importance is rather low
Thank you!
skf-2.10.11-1.fc32 dropped python2 support.