sandsifter
sandsifter copied to clipboard
Python 3 Port
Any idea when move to python3 will be done ?
Originally posted by @shirishag75 in https://github.com/rigred/sandsifter/issues/3#issuecomment-454875377
@shirishag75 Branch https://github.com/rigred/sandsifter/tree/python3 ports this project to python3 It probably still has bugs so please give it a test.
But for the most part everything in sifter.py is working with python3 for starters
So the python3 branch is not ready for master yet? FreeBSD switched to using Python 3 by default, it still has Python 2.7 too.
The pycurses UI framework as used by sandsifter has some issues for the summarize tool. The sifter aspect is working fine though, but it uses some dirty workarounds, I will see if I can get this properly sorted.
No hurry :) I restricted the FreeBSD port to Python 2.7 for now.
@rigred Since Debian is removing python2 support, I plan to package the python3 version of sandsifter to replace the current version.
[1] https://wiki.debian.org/Python/2Removal
What I have been seeing is removal or/and updates to the leaf packages before the real transition happens. Probably because lot of breakage is expected as and when that happens. Similar to freebsd both python 2.7 and 3.8 are living in testing atm.
$ python --version
Python 2.7.17
$ python3 --version
Python 3.7.5
One would has to see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931659 as well as https://lists.debian.org/debian-python/2019/11/ and later to have a sense of what's happening in Debian. As can be seen both the actions and the discussions are intense around python2 removal. Will it all happen before bullsye or some ofter is the issue as Debian likes to take time to 'bake' whatever gets included in Debian bullseye. but for sure there will be a python 2 removal.
FWIW, this mail gives an overview of all the major distros. and their python 2 removal in the linux world. https://lists.debian.org/debian-python/2019/11/msg00066.html
The sandsifter will be removed on 13 Dec [1] due to pyton2 removal in the Debian sid/bullseye archive. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938432
The sifter.py has migrated to python3, but other python scripts stay in python2. Do you have a timetable for this?
FreeBSD plans to remove Python 2.7 itself on 2020-12-31 (one year after upstream end-of-life), so everything depending on Python 2 must either be converted or removed by then.
I'm very busy due to work obligations as of recent. But now that I'm stuck home more often I'll try and get this fixed up in due course.
OK, thanks for your efforts.
Great to hear that. Looking forward to it! In debian, the package was removed from Debian testing already and it's uninstallable in Debian unstable until it's ported to Python 3. cc @sbrun
Any updates on the progress of the python3 port?
Hi, is there any news on the Python 3 progress? FreeBSD will be removing most (if not all) Python 2 packages by the end of 2020.
ping any updates, 2 months amd still no comment by the developer :(
FWIW, python2 is no more,
$ python3 --version
Python 3.9.1