News for hackers. Stuff that matters.
Re:Bookworm: A Simple, Focused eBook Reader by ascii_only on Tuesday February 19, 2019 @04:36AM (#19197775)
Calibre author have said that despite python2 eol he will not transition to python3 and that he is "perfectly capable of maintaining python2 himself"
Re:Bookworm: A Simple, Focused eBook Reader by bayindirh on Tuesday February 19, 2019 @04:58AM (#19197875)
However it seems that people are slowly migrating Calibre to Python 3.

Also looks like any Python3 patch doesn't break the current Calibre build is welcome indeed.

Re:Bookworm: A Simple, Focused eBook Reader by ascii_only on Tuesday February 19, 2019 @06:40AM (#19198242)
Yes. I should have been more clear. He is not against python3 but thinks that it is less work to maintain python2 than port calibre to newer version.
Re:Bookworm: A Simple, Focused eBook Reader by qwerty456127 on Tuesday February 19, 2019 @07:04AM (#19198334)
This sounds like Calibre codebase is a mess that needs to be refactored.
Re:Bookworm: A Simple, Focused eBook Reader by darkpuma on Tuesday February 19, 2019 @07:11AM (#19198370)
To be honest the best part of Calibre, the `ebook-convert` tool, is already broken out from the rest of it. It's similar to pandoc though in my opinion often does a nicer job.
Re:Bookworm: A Simple, Focused eBook Reader by PurpleRamen on Tuesday February 19, 2019 @07:55AM (#19198579)
Even the best codebase can't effortless be ported. Calibre seems to have something around 25 MB of python-code, several external plugins, some C-code and other languages. Transition of this would take quite some time.

Additionally, there is the problem of compability. Configuration in Calibre is python-code, and on several corners the user can mod stuff. Any transition would need to make sure to not brake things to hard.

Re:Bookworm: A Simple, Focused eBook Reader by megablast on Tuesday February 19, 2019 @07:12PM (#19204374)
Oh. Like every single codebase ever then?
Re:Bookworm: A Simple, Focused eBook Reader by rat9988 on Tuesday February 19, 2019 @06:46AM (#19198264)
To be honest, I don't see why would you port it to python 3. Isn't it already working? Are there any python 2 bug hampering its development?
Re:Bookworm: A Simple, Focused eBook Reader by PurpleRamen on Tuesday February 19, 2019 @07:37AM (#19198491)
Python2 will be at end of support next year. That means slowly it will become harder and harder to make calibre runable on modern systems. 3rd-party librays will decline and receive no updates. Python2-interpreter will not be installable out-of-the-box. There will be no security-updates or new features.

Python2 as a platform will slowly die and any application depending on it will die with it. Though, this won't become a serious problem in the next years, but more like 5-10+ years.

It's sad, but the reality now.

Re:Bookworm: A Simple, Focused eBook Reader by qwerty456127 on Tuesday February 19, 2019 @09:46AM (#19199227)
To be honest, I doubt corporations will give Python 2 up easily. Currently Python 2 codebase in use in production is probably fairly huge and is just working. Look at how hard it is to convince enterprises to give up Internet Explorer even though Microsoft itself says they should really end using it. Someone like Red Hat will probably keep maintaining Python 2 for at least some years more.
Re:Bookworm: A Simple, Focused eBook Reader by PurpleRamen on Tuesday February 19, 2019 @10:49AM (#19199722)
Indeed, but companies have full control over their software and used OS-Versions. They can virtualize, package or even compile themself, and fix problems in their own space.

But calibre is desktop-software, it depends on the OS, the GUI-Framework and whats more... Though, it's actually only a bigger deal for linux, beacuse on Windows and Mac OS is custom to deliver compiled versions from the Project itself. Also there is not wayland-situation on windows and Mac OS, which might break GUI-Libs. But as Calibre has so many different gears it's depending on, there is a good chance that something will break after a certain point.

> Someone like Red Hat will probably keep maintaining Python 2 for at least some years more.

Actually, Red Hat is already dropping python2 for their next enterprise-version as I read. They will probably still have a somewhat maintainend version available somehow, but it's obvious that python2 is slowly phasing out now. And many remaining companies are now starting transition too as EOL is near.

At this point you can already can predict that python2 will have reached minimal levels of usage in 5 years.

Re:Bookworm: A Simple, Focused eBook Reader by bayindirh on Tuesday February 19, 2019 @07:05AM (#19198339)
Because Python2's end of life is announced. There'll be no Python 2.8, 2.9 or future. It may get some security fixes, but it'll be abandoned then.
Re:Bookworm: A Simple, Focused eBook Reader by jiva on Tuesday February 19, 2019 @04:14PM (#19202857)
"there will be no updates, not even source-only security patches" from the man himself: https://mail.python.org/pipermail/python-dev/2018-March/1523...