[opensuse] Getting rid of all traces of python2?
Hi, is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use... Cheers Mathias -- Mathias Homann Mathias.Homann@openSUSE.org telegram: https://telegram.me/lemmy98 irc: [lemmy] on freenode and ircnet obs: lemmy04 gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
On 8/26/20 6:40 AM, Mathias Homann wrote:
Hi,
is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use...
Cheers Mathias
This is always a sticky-wicket. Developers are human, and at time can procrastinate, or with other "favorite" apps, the developer may have orphaned the package long ago and no migration work has been done. Somewhere we need to have some master-list that tracks what packages still rely on python2 and determine what the case is for any of the packages. I don't do much with python so I don't know of such list for openSUSE. -- David C. Rankin, J.D.,P.E.
On 26/08/2020 13.40, Mathias Homann wrote:
Hi,
is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use...
Are you sure that "zypper rm -u python-base" means the obsolete version 2? (I'm not aware if Leap 15.2 has switched to version 3). Such a command would address the default version of python, and thus, remove important components of the system. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
i just upgraded to leap 15.2 and there is no python2, no plain python, only python3 On Thu, Aug 27, 2020 at 3:56 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 26/08/2020 13.40, Mathias Homann wrote:
Hi,
is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use...
Are you sure that "zypper rm -u python-base" means the obsolete version 2? (I'm not aware if Leap 15.2 has switched to version 3). Such a command would address the default version of python, and thus, remove important components of the system.
-- Cheers / Saludos,
Carlos E. R. (from 15.1 x86_64 at Telcontar)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 27 Aug 2020 15:13:57 -0500 tooth pik <toothpik6@gmail.com> wrote:
i just upgraded to leap 15.2 and there is no python2, no plain python, only python3
It sounds like it would be interesting to see Mathias' list of things that would break if he removed python2. And probably to raise a bug against each and every one of them.
On Thu, Aug 27, 2020 at 3:56 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 26/08/2020 13.40, Mathias Homann wrote:
Hi,
is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use...
Are you sure that "zypper rm -u python-base" means the obsolete version 2? (I'm not aware if Leap 15.2 has switched to version 3). Such a command would address the default version of python, and thus, remove important components of the system.
-- Cheers / Saludos,
Carlos E. R. (from 15.1 x86_64 at Telcontar)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 27/08/2020 18:12, Dave Howorth wrote:
It sounds like it would be interesting to see Mathias' list of things that would break if he removed python2.
And probably to raise a bug against each and every one of them.
Indeed. What would be the parameters for the rpm command to list what is dependent on each and every python2 item you have installed in 15.1 going into 15.2? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 29 Aug 2020 09:21:10 -0400 Anton Aylward <opensuse@antonaylward.com> wrote:
On 27/08/2020 18:12, Dave Howorth wrote:
It sounds like it would be interesting to see Mathias' list of things that would break if he removed python2.
And probably to raise a bug against each and every one of them.
Indeed. What would be the parameters for the rpm command to list what is dependent on each and every python2 item you have installed in 15.1 going into 15.2?
I don't suppose there is. Just because an RPM depends on python2 in 15.1 doesn't mean it still does in 15.2. You need a list of dependencies of 15.2 packages. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 29/08/2020 09:43, Dave Howorth wrote:
On Sat, 29 Aug 2020 09:21:10 -0400 Anton Aylward <opensuse@antonaylward.com> wrote:
On 27/08/2020 18:12, Dave Howorth wrote:
It sounds like it would be interesting to see Mathias' list of things that would break if he removed python2.
And probably to raise a bug against each and every one of them.
Indeed. What would be the parameters for the rpm command to list what is dependent on each and every python2 item you have installed in 15.1 going into 15.2?
I don't suppose there is. Just because an RPM depends on python2 in 15.1 doesn't mean it still does in 15.2. You need a list of dependencies of 15.2 packages.
Accepted. And how to do that without actually installing 15.2? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 8/26/20 9:10 PM, Mathias Homann wrote:
Hi,
is it possible by now to uninstall python2 and **not** break half of one's system? Leap 15.2 here... and a "zypper rm -u python-base" would wipe out several desktop apps that I use...
Its much easier on tumbleweed where packages have been dropped if there not going to be ported, now were only down to stuff like building firefox, removing the python2 package on my leap 15.2 box would only remove some gimp plugins. So it depends on your system If your using any 3rd party repo's it might be much harder. -- 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
participants (7)
-
Anton Aylward
-
Carlos E. R.
-
Dave Howorth
-
David C. Rankin
-
Mathias Homann
-
Simon Lees
-
tooth pik