This script updates all active releases of Python, even the pre-release ones. This is for you who likes building things from source because mental health is not a thing for you.
For the change log please check CHANGELOG.md
Feel free to contribute your code, if anyone sees this at all.
- Update when I feel annoyed of a feature
- Dependencies are checked. The list comes from the developer's guide of Python.
- Using git ls-remote, the releases are taken and compiled into a table.
- Your python version is checked, then compared to the newest version that is available.
- You would be able to select the specific version and update it according to your needs. All versions are installed with
altinstall.
Note: All python will be installed in /usr/local/bin so it doesn't interfere with the system's python3 (For noobs: Don't change the system python version, it breaks things).
Note:
main.shis deprecated and will be removed in a future release. Usemain.pyinstead.
Go to Software and Updates and select Source Code under Ubuntu Software
Then install dependencies:
sudo apt build-dep python3
sudo apt install python3-pip
pip install textual richpython3 main.pysudo bash -c 'CODENAME=$(grep -oP "CODENAME=\K\w+" < /etc/lsb-release); echo "deb-src http://archive.ubuntu.com/ubuntu/ $CODENAME main restricted" >> /etc/apt/sources.list'Then install dependencies:
sudo apt build-dep python3
sudo apt install python3-pip
pip install textual richsudo su # Activate root if you don't want to type passwordspython3 main.py| Key | Action |
|---|---|
↑ / ↓ |
Navigate versions |
Enter |
Select target version to install |
I |
Install selected version |
1 |
Toggle PGO (Profile-Guided Optimization) |
2 |
Toggle LTO (Link-Time Optimization) |
3 |
Toggle GIL (disable GIL, 3.13+ only) |
4 |
Toggle JIT (experimental, 3.13+ only) |
R |
Refresh version list |
Ctrl+C |
Quit |
- Go to Windows app store
- Download your Python version
- UPDATE IT WITH THE UPDATE BUTTON