pulp / oci_env

9 stars 33 forks source link

Update switch_python script to new default python version 3.9 #157

Closed gerrod3 closed 5 months ago

gerrod3 commented 5 months ago

With the oci_env now using the new centos9 images, the default python version is now 3.9.

Note We can now publish other python version oci-images, but we haven't done so yet.

dosas commented 5 months ago

Note We can now publish other python version oci-images, but we haven't done so yet.

As long as there are no container images for other python versions (3.10, 3.11, 3.12, ...) this is the only possibility to use a different version right now.

mdellweg commented 5 months ago

Note We can now publish other python version oci-images, but we haven't done so yet.

As long as there are no container images for other python versions (3.10, 3.11, 3.12, ...) this is the only possibility to use a different version right now.

I guess, that's why we keep the script around for now.

mdellweg commented 5 months ago

BTW: What happens if you used the oci-env with a python 3.8 container base image?

gerrod3 commented 5 months ago

BTW: What happens if you used the oci-env with a python 3.8 container base image?

Nothing, but you wouldn't be able to specify using python 3.9.

mdellweg commented 5 months ago

BTW: What happens if you used the oci-env with a python 3.8 container base image?

Nothing, but you wouldn't be able to specify using python 3.9.

That's technically a regression. But it's a dev tool and they should be able to handle it.