The pip upgrade upgrades the *code base*, not the station data. The
configuration file, weewx.conf, is part of the latter.

To upgrade the station data, you use "weectl station upgrade". By default,
this upgrades the documentation, examples, and utility files, but it can
also (optionally) upgrade the configuration file and skins. Because we work
hard at backwards compatibility, that should be necessary only rarely.

It's best to think of the version number in weewx.conf (and, for that
matter, the skin.conf's) as "Installed by", not the current version.

If you want the current version, use

*weectl --version*


You're not the first to get confused by this. I'm thinking at the very
least to put a comment in weewx.conf stating that the version number is the
"Installed by" number. Or, even removing it completely.

-tk

On Wed, Jul 19, 2023 at 4:26 PM Greg <[email protected]> wrote:

> Hi,
>
> I have weewx V5 installed and all is running fine but when I do an upgrade
> pip install --upgrade weewx then version doesn't change in the weewx.conf.
> I assume it is supposed to be changed?
>
> I am running 5.0.0.b9 but the weewx.conf shows:
> # Do not modify this. It is used when installing and updating weewx.
> version = 5.0.0b6
>
> Do I have to do something extra as I have the weewx set up to use
> /opt/weewx/weewx-data/weewx.conf file
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" 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-development/39ea8a71-dd6e-44e2-8711-b76cd80de198n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/39ea8a71-dd6e-44e2-8711-b76cd80de198n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/CAPq0zED0JOwtDmUJrxsSnrWreWWNJ93_nqR0mrA-usvHWud1Sg%40mail.gmail.com.

Reply via email to