On Thu, Dec 5, 2019 at 7:00 AM Simon Lees
wrote: The command is "rpm -q --whatrequires python2" but that will only list the direct dependencies zypper rm python2 will give you the full list of what will change., pretty much everything in the distro's have already been ported to python3, my leap desktop for example doesn't even have python2 installed on my tumbleweed laptop mercurial seems like the only reason I have it installed
The following is on an up-to-date Tumbleweed (dup last night):
It tried the rpm command:
$ rpm -q --whatrequires python2 python2-setuptools-41.0.1-154.2.noarch python2-cryptography-2.8-1.2.x86_64
Or even:
$ rpm -q --whatrequires python python-z3c-rml-3.2.0-4.10.noarch zypper-log-1.14.32-1.2.noarch python3-apparmor-2.13.3-5.2.x86_64 paraview-5.6.2-63.7.x86_64
Yet I have 56 packages that have 'python2' as part of their name.
If I try to remove libpython2_7-1_0-2.7.17-1.1.x86_64, these packages are listed as needing it (I removed the obvious ones with 'python2' in the name). Some that have explicit libpython2 dependencies surprise me.
deinstallation of paraview-5.6.2-63.7.x86_64 deinstallation of python-xml-2.7.17-1.1.x86_64 deinstallation of python-tk-2.7.17-1.1.x86_64 deinstallation of python-curses-2.7.17-1.1.x86_64 deinstallation of python-base-2.7.17-1.1.x86_64 deinstallation of python-2.7.17-1.1.x86_64 deinstallation of mercurial-5.2-1.1.x86_64 deinstallation of bzr-2.7.0-5.4.x86_64 deinstallation of python-ipaddress-1.0.22-17.3.noarch deinstallation of python-functools32-3.2.3.2-6.11.noarch deinstallation of python-enum34-1.1.6-16.14.noarch deinstallation of python-z3c-rml-3.2.0-4.10.noarch deinstallation of python-preppy-2.4.1-2.11.noarch deinstallation of rdesktop-1.9.0-1.1.x86_64 deinstallation of python3-pyside2-5.13.1-1.3.x86_64 deinstallation of python3-astor-0.8-3.1.noarch deinstallation of openconnect-8.05-1.1.x86_64 deinstallation of npm12-12.13.1-1.1.x86_64 deinstallation of clang7-7.0.1-13.3.x86_64 deinstallation of mercurial-lang-5.2-1.1.noarch deinstallation of bzr-lang-2.7.0-5.4.noarch deinstallation of tensorflow-1.13.2-1.1.x86_64 deinstallation of openconnect-lang-8.05-1.1.noarch deinstallation of NetworkManager-openconnect-1.2.6-1.2.x86_64 deinstallation of tensorflow-doc-1.13.2-1.1.x86_64
The packages that have 2.7.17 in the name are probably python2 only. Even if the package names are not consistent.
But I wonder what will happen to ones like clang, brz, npm, rdesktop, and the like. the later versions of clang don't have this requirement, it looks like Canocical has abandoned bzr for git so i'd expect no one plans to spend time porting it to python3 and it will likely be dropped from everywhere, rdesktop has one utility python script that probably should be dropped because its not essential and creates a hard dependency, other packages will either be ported to python3 if there is enough interest (many already have been) or will be dropped when it goes end of
On 12/5/19 5:51 PM, Roger Oberholtzer wrote: life (many no longer maintained applications using python2 have also already been dropped). -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B