Skip to content

About dialog version should be set by CI/CD pipeline #25

@Aaronontheweb

Description

@Aaronontheweb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions