Chuck:

If you do a "pip3 freeze > ~/requirements.txt" to quantify your venv to a 
file before upgrading, then a "pip3 install -r ~/requirements.txt" after 
upgrading, you 'do' get all the same modules+versions installed into the 
new 3.13 venv subdirectories (tested), which isn't too bad.

Rerunning setup-daemon.sh afterward does 'not' alter the weewx service 
files unfortunately.  I guess a minimal sudo hand editing is needed there.

On Wednesday, September 3, 2025 at 9:55:07 AM UTC-7 vince wrote:

> That results in a python3.13/site-packages tree that is empty other than 
> the pip module
>
> On Wednesday, September 3, 2025 at 9:30:56 AM UTC-7 Chuck Rhode wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE----- 
>> Hash: SHA1 
>>
>> On Wed, 3 Sep 2025 08:57:22 -0700 (PDT) 
>> vince <[email protected]> wrote: 
>>
>> > I think Tom has stated his recommendation is to always rebuild your 
>> > venv if the python version changes, as it does for bookworm => 
>> > trixie. 
>>
>> Why isn't swapping python versions just this simple: 
>>
>> > python3 -m venv --upgrade weewx-venv 
>>
>> - -- 
>> .. Be Seeing You, 
>> .. Chuck Rhode, Sheboygan, WI, USA 
>> .. Weather: https://LacusVeris.com/Wx 
>> .. 62° — Wind W at 10 mph. Sky overcast. 
>> -----BEGIN PGP SIGNATURE----- 
>>
>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCaLhtLwAKCRBg2/xipKOW 
>> Uk6GAJ9U2IdzEYu/rucdtM0uopVZ7W/NygCfZTla43Xe9R5HwAWQjupxemMufHw= 
>> =pWGo 
>> -----END PGP SIGNATURE----- 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/3335ddde-958d-42f7-a75a-1333eb1b95fbn%40googlegroups.com.

Reply via email to