Python 3.10 reached end of life on 1 October 2026. Version 3.10.22 was its final release, and the Python project will not fix anything in the 3.10 series again, security issues included. If a Django, Flask or other Python app on your hosting account still runs on 3.10, it is time to move it.
On cPanel hosting with CloudLinux, Python apps are managed in Setup Python App, and each app has its own Python version and virtual environment. That makes the move manageable: you can test a new version on a copy of the app, then switch the live app from the same screen. This guide covers which version to choose, what your framework supports, and the steps in cPanel.
Which Python versions are still supported
According to the official status of Python versions:
- Python 3.10: end of life since 1 October 2026.
- Python 3.11: security fixes only, end of life October 2027.
- Python 3.12: security fixes only, end of life October 2028.
- Python 3.13: security fixes only, end of life October 2029.
- Python 3.14: bug fixes, end of life October 2030.
- Python 3.15: bug fixes, first released 9 October 2026, end of life October 2031.
Moving from 3.10 to 3.11 is the smallest jump, but 3.11 has less than a year left. If your dependencies allow it, moving to 3.12 or newer saves you doing this again next autumn.
Check what your framework supports
The Python version you can use is often decided by your framework. Django publishes a compatibility table in its installation FAQ:
- Django 5.2 supports Python 3.10, 3.11, 3.12, 3.13 and, from 5.2.8, 3.14.
- Django 6.0 and later require Python 3.12 or newer.
Django also says only the latest micro release of each Python version is officially supported, and that end-of-life Python versions should not be used with Django. So an app on Django 5.2 can move to a newer Python without changing Django, while an older Django release may need its own upgrade first.
Flask’s documentation says it supports Python 3.9 and newer and recommends the latest version. For other packages, check each one’s release notes, or let the test install below tell you which ones fail.
Move the app in cPanel’s Setup Python App
The steps below follow CloudLinux’s Python Selector documentation for the cPanel interface.
- Save the package list. Open the app in cPanel » Software » Setup Python App. The app page shows the command that enters its virtual environment; copy it, run it over SSH (or in cPanel’s Terminal, if your plan has it), then run
pip freeze > requirements.txtin the app directory. Keep a backup of the app files and database too. - Create a test app. Click Create Application. Choose the new Python version, set the application root to a copy of your code, and give it a URL on a test subdomain. Set the startup file (by default
passenger_wsgi.py) and the entry point (by defaultapplication). Do not name the app after a Python version, such aspython311: CloudLinux warns that this causes errors. - Install and test. Add
requirements.txtas a configuration file and click Run pip install. If a package fails, upgrade it to a release that supports the new Python and try again. Then open the test URL and work through the important pages, forms and background jobs. - Switch the live app. Open the live app with the pencil icon, choose the new Python version from the dropdown and click Save.
- Install packages and restart. Run pip install for the live app with the same
requirements.txt, then click Restart. Check the site and the Passenger log. When you are happy, remove the test app.
If the Python version you want is not in the dropdown, your host decides which versions are installed. Ask support before you plan around it.
Environment variables and secrets
Set environment variables such as DJANGO_SETTINGS_MODULE or a secret key in the app’s Environment variables section rather than in a file inside the public web folder. When you create the test app, add the same variables, but point it at a copy of the database if the test could change data.
When a VPS makes more sense
Setup Python App suits WSGI apps such as Django and Flask. If your project needs long-running worker processes, a Python version your host does not offer, or system packages you would install yourself, a VPS with root access is the usual next step. If you would rather not run that server alone, our server management team can.
Frequently asked questions
When did Python 3.10 reach end of life?
On 1 October 2026. Python 3.10.22 was the final release, and the Python project accepts no further changes to the 3.10 series.
Will my app stop working on Python 3.10?
Not by itself. It keeps running, but no security fixes will be released for Python 3.10, and newer versions of your packages may stop supporting it.
Which version should I move to?
The newest version your framework and packages support. Python 3.11 has security support until October 2027; 3.12, 3.13 and 3.14 run until 2028, 2029 and 2030.
Can I change the Python version of an existing app in cPanel?
Yes. Open the app in Setup Python App, choose a new Python version from the dropdown, save, then reinstall packages with pip and restart the app.
Does Django 6 run on Python 3.11?
No. Django 6.0 needs Python 3.12 or newer. Django 5.2 supports Python 3.10 to 3.14.
Python hosting at HosterOcean
Our Python hosting runs Django, Flask and other WSGI apps from cPanel, each in its own virtual environment, with several Python versions to choose from and LiteSpeed serving static files. If you are moving an app from another host, request a free migration and tell us the Python version you want to run on.
Tags:
Related articles
How to choose a Node.js LTS version and run the app on cPanel
Pick an Active or Maintenance LTS release and create the app in cPanel’s Node.js app manager.
Read More →How to upgrade Laravel 12 to Laravel 13 on cPanel, and move off PHP 8.2
Move PHP to 8.3 or newer first, then follow the official guide to Laravel 13.
Read More →



