On Thu, Dec 5, 2019 at 7:00 AM Simon Lees
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 point of all this is that I only want to lock things that are python2 only. I don't want to lock python3 stuff. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org