How to upgrade Python Version, if possible

Question: Hey y’all,
I am wondering if it is possible to upgrade the python version to 3.11.2 from 3.10.8. If so, how would I go about doing it? I have tried replacing it in the replit.nix, I have tried using apt-update && apt-upgrade, I’ve tried using pip, and I’ve googled it as well as asked the AI helpers (ChatGPT and Bing’s AI) and haven’t gotten anywhere with it. I appreciate any help with this.

Repl link:

Appreciate it,

AI helpers likely know very little about how to configure repls since the new Nix configuration files are a relatively recent addition (as on past 1-2 years) meaning AI tips won’t know about it.

I believe there are actually Python 3.11 templates which you can use and check out the configuration so you can do it yourself :smile: Basically though you would go through the replit.nix find and change 310 anywhere you see it to 311.

1 Like