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:
While testing jhalfs dependency algorithm, I discovered a few things about
python modules (there may be others):
- several modules have instructions for both python2 and python3, but Python2
is not listed as a dependency (or is only listed as optional). Either Python2
should be listed as a (recommended) dependency, or the text should be changed
to something like: "if you have installed Python2, run the following 
commands..."

- scour is built only for Python2, but Python2 is not even mentioned as optional

- There is still the following sentence at the beginning of the Python module
page:
"Installation of the modules shown on this page is meant to follow from top to
bottom to handle optional dependencies in each module."
But I think the dependencies have been sorted out, and actually, there are
"out of order" recommended dependencies for some modules (e.g. PyGObjects is
recommended by PyAtSpi2). So this sentence should not be there (and actually
it has no sense as soon as there is an out of order dep).

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

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to