More or less. Think of the version number in weewx.conf as specifying the version of the config file (just like the Seasons skin is now versioned). If the weewx.conf version is 4.9.0 that config file includes all (config) changes up to WeeWX v4.9.0, but if there were any config file changes introduced in 4.10.0 or 5.0.0 those changes will not be there. I suspect that with the release of v5 weectl station upgrade --what config will now be the most common means by which the weewx.conf version number is set, the of course other is by performing a clean install.
The weewx.conf version number is used as the starting point for determining what config file updates need to be applied when weectl station upgrade --what config is executed. I'm not so sure this is the only time the weewx.conf version number is needed/used, Tom may wish to elaborate. Gary On Monday 15 January 2024 at 17:02:45 UTC+10 [email protected] wrote: > I didn't do the weectl station upgrade --what config so I guess that'll > explain the behavior. So, for me to understand: the version in the config > file only specifies the latest version a weectl station upgrade --what > config was made and it is only needed, when the config is upgraded, to > define an upgrade path for the config itself? > > gjr80 schrieb am Montag, 15. Januar 2024 um 07:49:09 UTC+1: > >> There was a bug in rc3 that resulted in the config file not being >> upgraded despite a user issuing the command weectl station upgrade >> --what config. This may explain why 5.0.0b15 remained when you upgraded >> to rc3. When you did your 'pip upgrade' did you just do: >> >> # Activate the WeeWX virtual environment >> source ~/weewx-venv/bin/activate >> # Upgrade the WeeWX code >> python3 -m pip install weewx --upgrade >> >> or did you issue the weectl station upgrade --what config command as >> well? If you didn't issue the weectl station upgrade --what config command >> your config file will not have been touched. >> >> Gary >> >> >> On Monday 15 January 2024 at 16:33:31 UTC+10 [email protected] wrote: >> >> Same here, pip upgrade from 5.0.0rc3 , my weewx.conf still showing >> 5.0.0b15, which I ran before 5.0.0rc3 . >> >> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/c2f0f310-0994-4db3-8bdc-14bf9b039f66n%40googlegroups.com.
