FS#66861 - [calibre] switch Python v2 -> v3
Attached to Project:
Community Packages
Opened by Andreas Radke (AndyRTR) - Tuesday, 02 June 2020, 08:39 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 02 June 2020, 18:35 GMT
Opened by Andreas Radke (AndyRTR) - Tuesday, 02 June 2020, 08:39 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 02 June 2020, 18:35 GMT
|
Details
According to Fedora spec Calibre should be able to build and
run with Python v3 only:
https://src.fedoraproject.org/rpms/calibre/blob/master/f/calibre.spec Please try, test and switch to python 3.x only build. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 02 June 2020, 18:35 GMT
Reason for closing: Deferred
Additional comments about closing: We currently package both python2 and python3, and I'm watching the situation to decide when to deprecate python2.
Tuesday, 02 June 2020, 18:35 GMT
Reason for closing: Deferred
Additional comments about closing: We currently package both python2 and python3, and I'm watching the situation to decide when to deprecate python2.
In fact, I've been publishing a calibre-python3 split package in [community] since November. The point is that users should be able to install *either* calibre *or* calibre-python3, if they want to try python3 and/or don't care about plugins. You don't need to install python2 as an end user if you don't want to.
Are you asking for the python2 version to be dropped, or what? Note that we are still finding occasional python3 bugs, and, more importantly, many plugins are still not ported yet. Kovid (the upstream author) and I have a thread on the development forums urging people to port their plugins and providing guidance, and thanks to that, a number of plugins have been ported, but this is still a work in progress!
Fedora switched to python3 specifically because they dropped their python2 package, and it was this or nothing. I was intending to be more conservative about it, and force python3-only once upstream is closer to finalizing the switch.
I guess Arch will also try to drop python v2 not too far away.
- package both, co-installable, but default to python2 since python3 support is still considered beta status
- when upstream and the plugin community are in a better state to recommend migrating to python3, make 'calibre' install a python3 build, and provide calibre-python2 for people whose plugins are still not ported
- eventually drop python2 once upstream binary builds are python3
- skip right to the end if my hand is forced because archlinux purges the 'python2' package