The About dialog currently has a hardcoded fallback version (line 52 in about_dialog.py) that gets out of sync with releases.
Instead of hardcoding, the CI/CD pipeline should inject the actual version during the build process, similar to how setuptools-scm works. This ensures the version shown always matches the package version, even in development builds.
Suggested approach:
- Create a version.py file with version = 'dev'
- Have CI/CD replace 'dev' with the actual version during release builds
- Import from version.py instead of using importlib.metadata with fallback
The About dialog currently has a hardcoded fallback version (line 52 in about_dialog.py) that gets out of sync with releases.
Instead of hardcoding, the CI/CD pipeline should inject the actual version during the build process, similar to how setuptools-scm works. This ensures the version shown always matches the package version, even in development builds.
Suggested approach: