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 salt'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 salt. 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'.
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.
SaltStack is planning on moving to fully Python 3 in Fedora, just having an issue with supporting Tornado v5.x with Python 3, however it is planned to have the issue with Tornado v5.x resolved in Salt's Neon release which will be before the end of the year, if not sooner. At present there are a few corner cases in testing remaining to be resolved in support with Tornado v5.x in the Neon release. Once those are resolved, then Neon will be released, that is, Tornado v5.x support on Python 3 with Salt is critical for the Neon release and once resolved Neon will be released.
Thank you. We plan to remove remaining Python 2 packages in mid-November. If it starts looking like this won't be done by that time, please let us know. Salt and its dependencies would need a FESCo exception, but we can help with filing it.
SaltStack will be supplying a Salt snapshot from Neon with support for Tornado v5.x on Python 3, before Labor Day (planets align). It will have some corner case issues but should work.
Updated Fedora 31 with a Salt 2019.2.1 Release Candidate 0 with Tornado v5.x support on Python 3. Has some corner case issues (memory) but it should function. https://bodhi.fedoraproject.org/updates/FEDORA-2019-bf4eaae8a9
Thank you! I'm just curious - why not do this in rawhide first?
I usually leave Rawhide to last when building packages (leave the surprises to last), and yesterday got called away for a family issue (everyone fine now) but had to stop in mid stream. Rawhide has been updated this morning. 37356162 build (rawhide, /rpms/salt.git:aa9426e9952eb59577ba532f81508b1a1372e7d1) completed successfully Sorry for the delay but was unavoidable.
Rawhide updated with tornado and distro fix, 37357059 build (rawhide, /rpms/salt.git:a0bd766a278699a6904a2ad5e54b0f625cfb95b3) completed successfully Updated Fedora 31 builds with tornado and distro fixes too, and quick hand unit-test that install and function on the same box.
Thanks.