With Python 2's end of life approaching rapidly, what is the state of Python 3 support in the various python-based add-ons to bluefish, e.g. the minifiers, beautifiers and zencoding plugin? The configure script only appears to be looking for Python 2 versions. jsmin looks like it supports both 2 and 3 but I don't know about the others.
I'm thinking about this with regards to the impending removal of Python 2 from Fedora Linux (see https://bugzilla.redhat.com/show_bug.cgi?id=1737907).
I'll have a look how to port to python3
bluefish now compiles with python3, next step is to work on the scripts
A related issue: I tried building with --disable-python and it removed the zencoding plugin but left the other python-requiring add-ons, e.g. cssmin, the lorem-ipsum generator etc. I created a patch (against 2.2.10) to remove those too (see attached).
cssmin and the css decompressor work with python3, lorem ipsum does not (yet). Looking if I can make it work with python3
looking at the code, it seems that the upstream lorem ipsum code is not python3 compatible either, so we might as well switch to a new codebase that has both python2 and python3 support.
Hi Oliver, any ETA? If this does not happen soon I might have to drop Bluefish from the Archlinux repos or disable python 2 support if possible.
Last edit: Filipe Laíns 2020-01-05
the call to all translators is out to finish the translations. The new 2.2.11 release will be in 7 days.
Okay, thanks!
2.2.11 has been released and compiles with python 3. This is the first version that runs with python 3, there might be some small features that are negatively affected.
The permissions of the 2.2.11 tarballs seem to be wrong, I get 403 Forbidden when trying to download.
whoops, fixed now!
The zencoding plugin has a few "raise 'message'" constructs that aren't valid in python 3; I believe they need an exception type as the first argument to "raise".
lorem ipsum has been replaced with python 3 compatible version in svn, so that should be working as well in the next release