Describe the bug
The version number __openwisp_version__ defined in images/common/openwisp/__init__.py is hardcoded and never updated during the release process, causing it to become stale.
Currently, it shows version 25.10.0 while the latest release is 25.10.2 (I am going to fix this shortly).
This creates version duplication across the codebase.
Steps To Reproduce
- Check the current version in
images/common/openwisp/__init__.py
- Compare it with the latest GitHub release tag
- Observe that the version in
__init__.py is outdated (e.g., 25.10.0 vs 25.10.2)
Expected behavior
I am not sure what's the best way to deal with this right now and I am open for suggestions.
We either need to automatically update this as part of the release process, or we need to make this dynamic and get the right version from the information we already have.
Describe the bug
The version number
__openwisp_version__defined inimages/common/openwisp/__init__.pyis hardcoded and never updated during the release process, causing it to become stale.Currently, it shows version
25.10.0while the latest release is25.10.2(I am going to fix this shortly).This creates version duplication across the codebase.
Steps To Reproduce
images/common/openwisp/__init__.py__init__.pyis outdated (e.g.,25.10.0vs25.10.2)Expected behavior
I am not sure what's the best way to deal with this right now and I am open for suggestions.
We either need to automatically update this as part of the release process, or we need to make this dynamic and get the right version from the information we already have.