Maybe. I suppose a potential change would be in how weewx generates its ExecStart string.
Installing weewx via "python3 -m venv weewx-venv" generates the following:
ExecStart=/home/pi/weewx-venv/bin/python3 /home/pi/weewx-venv/lib/python3.9/site-packages/weewxd.py /home/pi/weewx-data/weewx.conf
But... if I had installed weewx via "python3.9 -m venv weewx-venv" there's a different result....
ExecStart=/home/pi/weewx-venv/bin/python3.9 /home/pi/weewx-venv/lib/python3.9/site-packages/weewxd.py /home/pi/weewx-data/weewx.conf
So for this second example I could 'add' a new python 3.12 to my os safely 'if' the old 3.9 was left unaltered. I don't know if every os would do so, however. This might be os specific.
I guess there are a couple options for potential change:
- make the ExecStart string generation smarter and figure out that python3 points to python3.9 when you follow the symlinks
- or change the procedure or add a note suggesting using pythonX.Y (whatever your os is using) to protect against this situation