John is correct, Python 2 is unfortunately required by yum and can't be
removed yet :(
 
One day, we'll migrate to the new version of yum (now called DNF) which
requires Python 3 and we'll be able to get rid of Python 2 completely.
Unfortunately, that project and its dependencies have gone through a lot
of churn and we've had higher priority issues to deal with so we're
sticking with yum for now.
 

----- Original message -----
From: Steve M via OpenSource <opensource@xxxxxxxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: "'John Yeung'" <gallium.arsenide@xxxxxxxxx>, "'IBMi Open Source
Roundtable'" <opensource@xxxxxxxxxxxxxxxxxx>
Cc: Steve M <txpenguin1@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [IBMiOSS] ACS/Python Uninstall Issues
Date: Fri, Jun 5, 2020 12:27 PM
 
Thank you, John.

The more I get into OSS the more I am finding there are more
dependencies than carter has little liver pills, for those of us old
enough to remember that phrase.

Thanks,
Steve

-----Original Message-----
From: John Yeung <gallium.arsenide@xxxxxxxxx>
Sent: Friday, June 5, 2020 12:21
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Cc: Steve M <txpenguin1@xxxxxxxxxxx>
Subject: Re: [IBMiOSS] ACS/Python Uninstall Issues

On Fri, Jun 5, 2020 at 10:58 AM Steve M via OpenSource
<opensource@xxxxxxxxxxxxxxxxxx> wrote:
>
> Had a nice chat with Mike Pavlak and he recommended that I remove
> Python 2 from my system since I have both 2 and 3 installed, and just
use 3.

It's true that you should just use Python 3 if you are writing anything
new.

If you're using *anything* from 5733-OPS (Python 2 or 3, Node.js, etc.),
then it's recommended to also uninstall all of that.

But your Python 2 is not from 5733-OPS; rather, you have Python 2 which
is included with `yum`. As such, it needs to stay on the system.
`yum` is currently dependent on that Python 2, and until such time as it
isn't, you need to keep that Python 2. As you can see from the messages,
`yum` is protected, as it should be. You definitely do NOT want to get
rid of that!

John Y.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [1]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [3]https://amazon.midrange.com ;
 

 

References

Visible links
1. https://lists.midrange.com/mailman/listinfo/opensource
2. https://archive.midrange.com/opensource
3. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.