Since F32 now has Python 3 as the default, I find that some Calibre plug-ins no longer work, though Calibre itself is fine. For the moment, I'm running it in an F31 VM to get round this, but there must be a better way. I expect it involves environment variables but am too lazy to experiment, so if anyone has done this I'd appreciate a hint.
poc
On Wed, 26 Aug 2020 at 07:42, Patrick O'Callaghan pocallaghan@gmail.com wrote:
Since F32 now has Python 3 as the default, I find that some Calibre plug-ins no longer work, though Calibre itself is fine. For the moment, I'm running it in an F31 VM to get round this, but there must be a better way. I expect it involves environment variables but am too lazy to experiment, so if anyone has done this I'd appreciate a hint.
If it was that simple it would be widely known.
https://calibre-ebook.com/get-involved
Plugin devs were given advance notice just before COVID-19 turned things upside down: https://www.mobileread.com/forums/showthread.php?t=325721
The plugins need to be updated so they work with Python3. It is understandable that some plugin developers have other more pressing priorities, but it might be worth contacting them directly.
In some cases, older plugins have been superseded by other changes, so it may be worth asking for advice on your "use case" in the current calibre.
Are you using a flatpak version? If not, you might find one that works with the plugins you need.
For both Windows and macOS Calibre runs in a qemu VM, so it should be possible to construct a lighter VM for F32 based on the Windows and macOS examples.
On Wed, 2020-08-26 at 08:29 -0300, George N. White III wrote:
On Wed, 26 Aug 2020 at 07:42, Patrick O'Callaghan pocallaghan@gmail.com wrote:
Since F32 now has Python 3 as the default, I find that some Calibre plug-ins no longer work, though Calibre itself is fine. For the moment, I'm running it in an F31 VM to get round this, but there must be a better way. I expect it involves environment variables but am too lazy to experiment, so if anyone has done this I'd appreciate a hint.
If it was that simple it would be widely known.
https://calibre-ebook.com/get-involved
Plugin devs were given advance notice just before COVID-19 turned things upside down: https://www.mobileread.com/forums/showthread.php?t=325721
The plugins need to be updated so they work with Python3. It is understandable that some plugin developers have other more pressing priorities, but it might be worth contacting them directly.
In some cases, older plugins have been superseded by other changes, so it may be worth asking for advice on your "use case" in the current calibre.
Are you using a flatpak version? If not, you might find one that works with the plugins you need.
No, that's an interesting thought.
For both Windows and macOS Calibre runs in a qemu VM, so it should be possible to construct a lighter VM for F32 based on the Windows and macOS examples.
I didn't know that. I'll take a look, thanks.
poc
On 26Aug2020 08:29, George N. White III gnwiii@gmail.com wrote:
For both Windows and macOS Calibre runs in a qemu VM, so it should be possible to construct a lighter VM for F32 based on the Windows and macOS examples.
Calibre is a native Python 2.7 PyQt5 app on MacOS. It does _not_ run in a VM. The Python 2.7 install is shipped as part of the calibre application.
Cheers, Cameron Simpson cs@cskk.id.au
On Thu, 2020-08-27 at 10:16 +1000, Cameron Simpson wrote:
On 26Aug2020 08:29, George N. White III gnwiii@gmail.com wrote:
For both Windows and macOS Calibre runs in a qemu VM, so it should be possible to construct a lighter VM for F32 based on the Windows and macOS examples.
Calibre is a native Python 2.7 PyQt5 app on MacOS. It does _not_ run in a VM. The Python 2.7 install is shipped as part of the calibre application.
Yes, on thinking about that I did wonder. Thanks.
poc
On Wed, 26 Aug 2020 at 21:16, Cameron Simpson cs@cskk.id.au wrote:
On 26Aug2020 08:29, George N. White III gnwiii@gmail.com wrote:
For both Windows and macOS Calibre runs in a qemu VM, so it should be possible to construct a lighter VM for F32 based on the Windows and macOS examples.
Calibre is a native Python 2.7 PyQt5 app on MacOS. It does _not_ run in a VM. The Python 2.7 install is shipped as part of the calibre application.
Calibre itself is just python. Many plugins do use shared libraries, but the same python code can run on multiple platforms using the platform PyQT5.
This depends on plugin authors following the recommendation to make plugins work for both Python2 and Python3. Calibre is written in Python and relies on platform-specific Python libraries (PyQt5), so the Windows and MacOS *builds *now use QEMU (previously they used VirtualBox) to run a linux build system: https://github.com/kovidgoyal/calibre/blob/master/bypy/README.rst May 30th.
Cheers, Cameron Simpson cs@cskk.id.au _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org