freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Upgrade Python from 3.6.8 #41

Open freephile opened 4 months ago

freephile commented 4 months ago

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 commented 4 months ago

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

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

freephile commented 3 months ago

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.