Howdy,

As some know, python 2.7 is leaving the building.  I'm wanting to try to
clean it out a bit now, a little at a time if needed.  I found some
commands on -dev that shows what still depends on python 2.7.  Thing is,
I think it is listing packages that *may* use 2.7 but can or is set to
use a newer version.  In other words, I'm getting false positives.
Another command returns nothing and I think that command shows what
requires *only* python 2.7 and no newer version.  Thing is, when I do a
emerge -ac python:2.7, it spits out a list of packages that says they
need it.  It's confusing to say the least. I think I'm on information
overload or something.

What I don't want to do, add targets to make.conf that may change
defaults later on.  In other words, I don't want to add the target line
and then later on forget it is there and it bite me when say 3.6 is
leaving the building.  I think if I can get it to where I can remove
python 2.7's package, it will leave it buried.  How to get there tho??

I don't want to attach a ton of info that may not be relevant.  I'm
going to share this tho.  If anyone needs more info, let me know and
I'll post it. 


root@fireball / # emerge -ca python:2.7

Calculating dependencies... done!
  dev-lang/python-2.7.18 pulled in by:
    app-doc/gimp-help-2.8.2 requires >=dev-lang/python-2.7.5-r2:2.7
    app-office/scribus-1.5.5-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    app-portage/gemato-14.3 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-lang/spidermonkey-1.8.5-r7 requires
>=dev-lang/python-2.7.5-r2:2.7[threads]
    dev-lang/spidermonkey-60.5.2_p0-r4 requires
>=dev-lang/python-2.7.5-r2:2.7[ncurses,sqlite,ssl,threads]
    dev-libs/boost-1.72.0-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-libs/libxml2-2.9.9-r3 requires >=dev-lang/python-2.7.5-r2:2.7[xml]
    dev-python/PyQt5-5.14.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/PyQt5-sip-4.19.22 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/PySocks-1.7.1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/backports-1.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/backports-lzma-0.0.13 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/bz2file-0.98 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/certifi-2019.11.28 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/cffi-1.14.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/chardet-3.0.4 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/cryptography-2.8-r1 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/cython-0.29.15 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/dbus-python-1.2.16 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/docutils-0.16 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/enum34-1.1.6-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/idna-2.8 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/ipaddress-1.0.23 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/lxml-4.5.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/mako-1.1.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/markupsafe-1.1.1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/numpy-1.16.5-r1 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/olefile-0.46 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pathlib2-2.3.5 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pbr-4.2.0-r1 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/pillow-6.2.2 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/ply-3.11 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pyblake2-1.1.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pycairo-1.18.2 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/pyclipper-1.1.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pycparser-2.20 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pycryptodome-3.9.4 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/pygments-2.5.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pygobject-2.28.6-r55 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pygobject-3.34.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pygtk-2.24.0-r5 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pyopengl-3.1.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pyopenssl-19.1.0 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/python-gammu-2.11 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/pyyaml-5.3.1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/requests-2.23.0 requires
>=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    dev-python/scandir-1.10.0-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/setuptools-44.1.0 requires
>=dev-lang/python-2.7.5-r2:2.7[xml(+)]
    dev-python/setuptools-git-1.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/setuptools_scm-3.5.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/setuptools_scm_git_archive-1.0 requires
>=dev-lang/python-2.7.5-r2:2.7
    dev-python/sip-4.19.22 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/six-1.14.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-python/urllib3-1.25.8 requires
>=dev-lang/python-2.7.5-r2:2.7[ssl(+)]
    dev-python/wxpython-3.0.2.0 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-qt/qtwebengine-5.14.2 requires >=dev-lang/python-2.7.5-r2:2.7
    dev-util/scons-3.1.2 requires >=dev-lang/python-2.7.5-r2:2.7[threads(+)]
    media-gfx/gimp-2.10.18-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    media-plugins/gimp-resynthesizer-2.0.3-r3 requires
>=dev-lang/python-2.7.5-r2:2.7
    media-video/devede-3.23.0 requires =dev-lang/python-2.7*
    net-libs/farstream-0.2.8-r2 requires >=dev-lang/python-2.7.5-r2:2.7
    sci-electronics/geda-xgsch2pcb-0.1.3-r5 requires
>=dev-lang/python-2.7.5-r2:2.7
    sys-apps/dstat-0.7.4-r1 requires >=dev-lang/python-2.7.5-r2:2.7
    sys-power/nut-2.7.4-r4 requires >=dev-lang/python-2.7.5-r2:2.7
    virtual/python-cffi-0 requires >=dev-lang/python-2.7.5-r2:2.7
    www-client/firefox-75.0-r3 requires
dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
    www-client/seamonkey-2.53.1-r1 requires
dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
    x11-misc/fbpanel-7.0 requires >=dev-lang/python-2.7.5-r2:2.7

>>> No packages selected for removal by depclean
Packages installed:   1718
Packages in world:    223
Packages in system:   43
Required packages:    1718
Number removed:       0
root@fireball / #



Thoughts??  Based on -dev, this should be very few packages.  I even
removed several dead out of tree but was installed packages that I no
longer use.  Still, long list. 

Looking for ideas?

Thanks.

Dale

:-)  :-)  :-)

Reply via email to