* [gentoo-user] Python:2.7 and removing it early
@ 2020-05-04 16:30 Dale
2020-05-04 18:47 ` Alessandro Barbieri
0 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2020-05-04 16:30 UTC (permalink / raw
To: gentoo-user
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
:-) :-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Python:2.7 and removing it early
2020-05-04 16:30 [gentoo-user] Python:2.7 and removing it early Dale
@ 2020-05-04 18:47 ` Alessandro Barbieri
2020-05-04 19:57 ` Dale
0 siblings, 1 reply; 5+ messages in thread
From: Alessandro Barbieri @ 2020-05-04 18:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 7187 bytes --]
At least
gimp-help
scribus
nut
fbpanel
are Python2 only, didn't check stuff from overlays
Il Lun 4 Mag 2020, 18:31 Dale <rdalek1967@gmail.com> ha scritto:
> 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
>
> :-) :-) :-)
>
>
>
[-- Attachment #2: Type: text/html, Size: 8482 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Python:2.7 and removing it early
2020-05-04 18:47 ` Alessandro Barbieri
@ 2020-05-04 19:57 ` Dale
2020-05-04 20:56 ` antlists
0 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2020-05-04 19:57 UTC (permalink / raw
To: gentoo-user
Alessandro Barbieri wrote:
> At least
> gimp-help
> scribus
> nut
> fbpanel
> are Python2 only, didn't check stuff from overlays
>
That makes sense. I can see where some can work with old and new python
but some appeared to be still stuck on the old 2.7. Guess I'll have to
wait since I use those. Maybe they will be updated soon.
Thanks much.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Python:2.7 and removing it early
2020-05-04 19:57 ` Dale
@ 2020-05-04 20:56 ` antlists
2020-05-05 1:31 ` edes
0 siblings, 1 reply; 5+ messages in thread
From: antlists @ 2020-05-04 20:56 UTC (permalink / raw
To: gentoo-user
On 04/05/2020 20:57, Dale wrote:
> Alessandro Barbieri wrote:
>> At least
>> gimp-help
>> scribus
>> nut
>> fbpanel
>> are Python2 only, didn't check stuff from overlays
>>
>
> That makes sense. I can see where some can work with old and new python
> but some appeared to be still stuck on the old 2.7. Guess I'll have to
> wait since I use those. Maybe they will be updated soon.
>
Another app that's 2.7 only is the current version of lilypond. The new
dev version I think can run without python2, but certainly building the
stable version demands it. I *think* if you get the pre-compiled binary
the current version can run (crippled) without python2.
Cheers,
Wol
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Python:2.7 and removing it early
2020-05-04 20:56 ` antlists
@ 2020-05-05 1:31 ` edes
0 siblings, 0 replies; 5+ messages in thread
From: edes @ 2020-05-05 1:31 UTC (permalink / raw
To: gentoo-user
el 2020-05-04 a las 21:56 antlists escribió:
> Another app that's 2.7 only is the current version of lilypond. The new
> dev version I think can run without python2, but certainly building the
> stable version demands it. I *think* if you get the pre-compiled binary
> the current version can run (crippled) without python2.
re lilypond, please see bug 720422:
https://bugs.gentoo.org/720422
there's an ebuild for lilypond-2.21.1, that builds with python 3.7 (and
with guile 2.2).
--
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-05 1:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-04 16:30 [gentoo-user] Python:2.7 and removing it early Dale
2020-05-04 18:47 ` Alessandro Barbieri
2020-05-04 19:57 ` Dale
2020-05-04 20:56 ` antlists
2020-05-05 1:31 ` edes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox