oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

package still depends on six

Open mcepl opened this issue 4 months ago • 3 comments

Despite this package claims to be for Python 3 only and particularly 3.6+, it still unnecessarily depends on six.

Is it OK, to patch the use of six out of the package? Would you welcome PR?

mcepl avatar Sep 10 '25 19:09 mcepl

Hi Matěj Cepl, OCI CLI needs to remain compatible with Python 3.6, so it can be installed in those versions of Oracle Linux that still include Python 3.6 as their long term support. So we cant yet move out 3.6 support on CLI

karthik-k-kamath avatar Sep 11 '25 06:09 karthik-k-kamath

Compatibility with any version of Python 3 doesn't demand six. That is required only for the compatibility with Python 2.

mcepl avatar Sep 11 '25 06:09 mcepl

Oh sorry , I miss understood, I confused six 3P dependency with Python 3.6 Yes please raise a PR, we will test it at our end to confirm before merging. Thanks for highlighting

karthik-k-kamath avatar Sep 11 '25 09:09 karthik-k-kamath