Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Python from 3.6.8 #41

Open
freephile opened this issue Mar 5, 2024 · 2 comments
Open

Upgrade Python from 3.6.8 #41

freephile opened this issue Mar 5, 2024 · 2 comments
Labels
OS Linux, Windows, Mac, Operating System related python Python programming

Comments

@freephile
Copy link
Owner

freephile commented Mar 5, 2024

Meza uses the system python - which is 3.6.8 currently on Rocky Linux 8. We should think about the overall effectiveness of using system python versus using a more flexible approach with venv.

The currently available Python is 3.12.x while 3.6.8 was released in 2018. RedHat backports security fixes even if the community does not support 3.6.x

See discussion #8

@freephile freephile added python Python programming OS Linux, Windows, Mac, Operating System related labels Mar 5, 2024
@freephile
Copy link
Owner Author

freephile commented Mar 8, 2024

There is a separate, but dependent issue for upgrading Ansible.

Ansible and system Python are closely related (tightly coupled) by default.

This was referenced Mar 9, 2024
@freephile freephile added this to the Platform Upgrade milestone Apr 4, 2024
@freephile
Copy link
Owner Author

In config/RedHat.yml where package_python3_pip: python36-pip is defined (differently than in Debian, and with an extra variable defined package_python3_pip_rhel8: python3-pip), is this actually necessary? I'm thinking that the correct version of pip3 would be constrained by the python that's installed. In any case, it's a variable, so figure out what you need for pip3 and install it. There shouldn't be two variables for pip3 depending on what OS release you have. There should be conditional logic about what pip3 gets installed depending on what OS release you have.

freephile added a commit that referenced this issue Sep 7, 2024
@todo cleanup / remove the separate variables for package_pyhton3_pip and package_python3_pip_rhel8 See issue #41#issuecomment-2045506153
freephile added a commit that referenced this issue Oct 4, 2024
@todo cleanup / remove the separate variables for package_pyhton3_pip and package_python3_pip_rhel8 See issue #41#issuecomment-2045506153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS Linux, Windows, Mac, Operating System related python Python programming
Projects
None yet
Development

No branches or pull requests

1 participant