I am using what I believe is the lastest version of Pi-Hole:
Pi-Hole reports
python3 --version
Python 3.5.3
I'd really like to use a Python version of at least 3.6 (ideally 3.8), because 3.5 is missing some core features I use (ordered dictionaries, f-string formatting, etc). It comes up because I "borrow" the same Raspberry Pi that hosts Pi-hole to run some side scripts, and it's cumbersome to have to backport those scripts to Python 3.5 when they are all originally written in Python 3.8
So I suppose my questions are:
If I update my Pi-hole to use Python 3.8, will it break anything?
Does Pi-hole have plans to update the native Python version it's using? If so, is there an expected timeline?
Edit / aside - am I totally bungling my memory of how Pi-hole was installed? My recollection was that I installed Pi-hole in some kind of standalone OS-like version. But reading the installation instructions again, it seems like it can only be installed on top of a core OS (like Raspbian, in my case). In which case, the failing may be on my side for not upgrading the installed Raspbian version from Stretch to Buster?
Thanks for the help!
Sorry I was unclear. I meant that if I SSH into my Pi-hole device and run python3 --version, it reports Python 3.5 installed:
Knowing that Pi-hole doesn't use Python probably answers my question. I suppose the Pi-hole OS is built on top of Debian, and so it just ships with whatever version of Python is pre-installed / supported there?
It looks like Debian Stretch shipped with Python 3.5, so maybe that's the underlying version for Pi-hole?
If I'm understanding correctly, I guess my question would change to: is there a Pi-hole development roadmap giving indication of when it would be upgrading Debian versions?