Skip to content

[bug] Duplication of __openwisp_version__ leads to stale info #570

@nemesifier

Description

@nemesifier

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

  1. Check the current version in images/common/openwisp/__init__.py
  2. Compare it with the latest GitHub release tag
  3. 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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions