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 seafile'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 seafile. 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.
1. The software is partially written in Python. 2. Port to Python 3 is planed in 2019: https://github.com/haiwen/seafile/issues/2112 (no news on this thought, I know work is being done for a dependency. See https://bugzilla.redhat.com/show_bug.cgi?id=1738017) 3. I am tracking the issue. I think we should wait for the upstream work to be completed.
The current plan is to remove packages with dependency on Python 2 from Fedora 32 in the middle of November 2019. So, if it starts looking like this won't be done by mid-November: - please let us know ASAP, so we can help with getting a FESCo exception for seafile - review the dependencies to make sure their maintainers keep Python 2 support for you. We track transitive python2 dependencies at: https://fedora.portingdb.xyz/pkg/seafile/
Upstream master repositories of Seafile and its dependencies seem to have Python 3 support now. There is no release containing Python 3 support yet, but for testing purposes it should be possible to build everything with Python 3 from the respective master branches. https://forum.seafile.com/t/python-3-support/968/14 The Seafile roadmap states that a release with Python 3 support will come in December 2019: https://www.seafile.com/en/roadmap/
It seems the upstream developers are asking to package master branches in Fedora: https://github.com/haiwen/seafile/issues/2112#issuecomment-543904599 Do you need any help with that?
@Petr Viktorin: I suggested packaging the master branch, but I'm not an upstream developer, just a user. My apologies if my request was unclear.
I see. The alternative is to get an exception for keeping seafile on Python 2 longer. If you want to do that, check with maintainers of all the Python 2 dependencies and see what the plan is. The default is to remove Python 2 support mid-November. The Python 2 dependencies for seafile are: libsearpc: python-simplejson: python-nose: python-coverage python2-setuptools (see https://bugzilla.redhat.com/show_bug.cgi?id=1747850) pygobject2 (has an exception already) ccnet: libsearpc If you want to go this way, there's about half a month left to coordinate this. Do you need help with that?
Hi, I saw the notification on Seafile side's. I've been quite busy lately. I may have time to look into this this week-end but I'm not sure. I'll keep you posted on that by Monday.
I still have an issue with ccnet: https://github.com/haiwen/seafile/issues/2112#issuecomment-549129564 libsearcp and seafile are compatible with Python 3. I started the packaging work here: https://copr.fedorainfracloud.org/coprs/jujens/seafile-python3/ I have some issues with seafile. I pingued on the issue.
*** This bug has been marked as a duplicate of bug 1777639 ***