Okay, I pushed all of my changes to master so we can use them to test against all plugins. We can always revert if we run into problems.
I actually kept all the methods in compatibility_utils.py and unipath.py but then simplified each a bit so that they only work for python3.
Any python3 code importing them should continue to work unchanged. So all plugins should continue to work as long as they are using python3.
Any running under python2.7 (which we removed a good while back) will fail but newer versions of Sigil do not support it anyway.
When you get a free moment, please give it a try with KindleImport to make sure it works as expected. It should. If not, let me know and I will give it a shot to fix it.
If this does not do the trick, we can revert to the full old versions of compatibility_utils.py and unipath.py for any release and then add in some type of "deprecated" warning.
|