-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2 EOL - Port MOBI unpack Python code to Vala #241
Comments
@paulcarroty Thanks for the pointer. I will port the code into Python 3 if possible. If python 3 is present, will the scripts not execute ? I thought it was backwards compatible. |
Nope, man, they aren't. About I'll test to run all scripts in Python 3 later. Here they are (
|
Update: I've forced Python 3 in all files by change their headers, but can't open any .mobi ebook. |
@paulcarroty Many thanks for your work on this - has saved me time for sure. |
Newer versions of MobiUnpack, which has been renamed to KindleUnpack, supports Python 3: https://github.com/kevinhendricks/KindleUnpack |
@johnfactotum Many thanks for this. While my longer term goal is to write the unpack code in vala (which will remove the python dependency for the app), I will definitely try the Python 3 version you have mentioned as that will be better than the Python 2 dependency which Bookworm currently have. Or if I can make a check on the python version and use the different versions it will preserve backward compatibility |
I have now updated the mobi unpack library to the new one suggested by @johnfactotum here [https://github.com//issues/241#issuecomment-611328008], this will make Bookworm compatible with Python2.7 and Python 3. Closing this issue, It will be great if people can compile the code and test and let me know if there are any issues. |
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
Guess something will be actual for another Linux distros. Do you have any plans to rewrite code to Python 3?
The text was updated successfully, but these errors were encountered: