![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2010
Device: N810
|
Python 3 migration
Hello I have question about migrating to python 3. Is planned or is any schedule to upgrade, because https://www.python.org/dev/peps/pep-0373/
in 2020 will be latest bugfix release ? Thanks |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,970
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I will simply maintain python 2 myself, far less work and I already do it for the windows python.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2018
Device: PocketBook Lux 3
|
We are a year and a half to Python 2's end of life:
https://pythonclock.org/ The number of Python2-supporting development tools and useful modules, used in the development and in user extensions of Calibre, will reduce considerably: http://python3statement.org/ Would you be interested at least in supporting both Python 2 and Python 3? There are ways to do it in a reasonable amount of effort. https://docs.python.org/3/howto/pyporting.html There is also a way for you to apply for financial support from the PSF! http://www.getpython3.com/#financial-support I am also very eager to help, in whatever way that I can, as I use your wonderful program on a daily basis! |
![]() |
![]() |
![]() |
#4 | |||||
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,970
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
https://github.com/naftaliharris/tauthon https://github.com/kovidgoyal/cpython Quote:
Quote:
![]() Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
#5 | |||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Quote:
calibre is most likely not that best-case scenario. ![]() Quote:
You're not the first person to ask for calibre to be ported to python 3. It's been asked a number of times. Kovid's usual response is "if anyone would like to put in the effort to port calibre, I will gladly merge those contributions. But it cannot do so by breaking python 2 support or harming performance, given that python 2 is what it is currently using". He's also mentioned that the first step would be to make all of calibre's current dependencies run on python 3, which is currently... not the case. e.g. https://github.com/python-mechanize/mechanize How exactly do you go about saying that calibre needs to be ported to python 3, because its dependencies are going to drop python 2 support, when the truth of the matter is that today, it has dependencies which have never been ported to python 3 to begin with? I'm shocked, absolutely shocked I tell you, that not one person has ever taken him up on his offer! Everyone seems to just sort of expect him to magically port calibre to python 3 with a wave of a magic wand, as though it's totally easy to port half a million lines of code which do a great deal of bytes manipulation (the single biggest pain point in python 2 vs python 3). So by all means let us continue to demand a python 3 port, since apparently it's entirely realistic as long as some procession of users can state their expectations for it. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
The fact that calibre has a version of python that is included/embedded makes the issue of python versions less important. It would have been a bigger problem if calibre used an external version of python.
Distributing apps together with their dependencies seems to become more common. Many types of containers do this. It greatly reduces problems finding the right dependencies when installing. Free Open Source Software is a prerequisite! And calibre has done this for quite a while now! ![]() |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library migration from MS Word. | rizzay | Library Management | 2 | 02-04-2015 10:37 AM |
Problem connecting to Calibre after migration | ChristopherTD | Marvin | 8 | 12-11-2013 09:45 AM |
python 2.X to 3.X migration? | KevinH | Calibre | 7 | 02-13-2011 07:56 PM |
Calibre library migration | kiat | Calibre | 4 | 10-22-2010 03:47 AM |
Sony Bookstore - migration to ePub | amjbrown | Sony Reader | 2 | 10-05-2009 12:43 PM |