On Sat, Dec 08, 2018 at 10:44:07AM -0600, Bruce Dubbs via blfs-dev wrote: > On 12/08/2018 06:33 AM, Thomas Trepl via blfs-dev wrote: > > Am Samstag, den 08.12.2018, 09:39 +0100 schrieb Pierre Labastie via > > blfs-dev: > > > > > > What I suggest: > > > -make all the python2 commands optional, by adding a sentence, adding > > > Python2 > > > as optional dep, and role="nodump" to the <userinput> tag, except for > > > modules > > > where only Python2 is used, where I would make Python2 recommended. > > > -remove the sentence "Installation of the modules..." > > > > > > I can do that, but I ask first for opinions > > > > I'd suggest to remove python2 everywhere it is possible even it might > > be possible to 'compile' with python2 (no 'optional Python2 at those > > packages). P2 should now appear in book only where it is definitely > > required and yes, there are still a few packages which require P2 to > > be installed but it seems that they get fewer (scons-3.0.1 is the > > latest example, it now works fine with P3). > > While it is not that urgent (EOL of P2 is in 2020), we should no > > longer put great efforts to support it beyond the packages which > > requires it. > > I agree with Thomas. Phasing out python2 would help simplify things a > little. Unfortunately I get: > > $ grep -r 'linkend="python2"' *|wc -l > 107 > > So there is a lot of work there. > > Trying to isolate the python2 modules needed is not so easy. I can find > references to pygobject2, but it's not clear what other python2 only modules > are needed. > > -- Bruce > I got really excited last night when diffing firefox-64-beta14 against beta7 : various additions to allow python3 as well as python2. Unfortunately, using 3 its initial bootstrap fails in 0.112 seconds. Looking at the plethora of mozilla bugs about moving to python3, I get the impression it is still some months away from being generally buildable - but parts of mozilla's test code might now work with 3.
Anyway, for me the big users of python2 apart from firefox / seamonkey / thunderbird (which I think only use core modules) are inkscape and the gimp. For inkscape, lxml and scour are needed. I build them both as python2 and they only install modules, so building as 3 will not allow inkscape to use them (Save As Optimized SVG). For the gimp, pygtk and its deps appear to be useful and therefore need to be python2. ĸen -- I'm saving up 22 shillings and 10 pence (almost a pound!) per week to buy an ARM-13. http://www.antipope.org/charlie/blog-static/2018/11/brexit-means-brexit.html -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
