<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Many tools in the os are based on Perl or Python, <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">so I won't recommend changing the base version which comes with the OS.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Go with containers (e.g docker), and decuple the code from the os.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:tahoma,sans-serif">--<br>Rabin</span></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Jul 2021 at 05:53, אורי <<a href="mailto:uri@speedy.net">uri@speedy.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a production server with Ubuntu 18.04 LTS (currently upgraded to Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python 3.6.9. I'm using Django and I read that from Django 4.0, a minimal version of Python 3.8 will be required. I would like to know how I use the latest version of Python (3.10 or 3.9) with my production server - do I have to reinstall a new server with the latest Ubuntu LTS version? Or do I have to upgrade my current server's Ubuntu version by upgrading the same machine? Or should I keep the Ubuntu version and only upgrade Python? I'm also using other software such as PostgreSQL which is currently psql (PostgreSQL) 10.17 (Ubuntu 10.17-0ubuntu0.18.04.1). Should I upgrade this too? And what is the risk that things will not work after I upgrade this?</div><div><br></div><div>Thanks,<br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div style="direction:rtl"><div style="direction:rtl">אורי</div><div style="direction:rtl"><a href="mailto:uri@speedy.net" target="_blank">uri@speedy.net</a></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div>