Skip to content

Derive the C++ app version from the Python package's __version__ - #12

Merged
xtofalex merged 1 commit into
mainfrom
single-version
Sep 28, 2026
Merged

xtofalex merged 1 commit into
mainfrom
single-version

Conversation

@xtofalex

Copy link
Copy Markdown
Member

src/Version.h hard-coded 0.0.6 while releases are tagged from naja_schematic.version (0.1.1), so the About dialog of the wheel's bundled viewer showed a stale version. CMake now reads version and passes it to both app targets as NAJA_SCHEMATIC_VERSION_STRING, making init.py the single version for the project.

src/Version.h hard-coded 0.0.6 while releases are tagged from
naja_schematic.__version__ (0.1.1), so the About dialog of the wheel's
bundled viewer showed a stale version. CMake now reads __version__ and
passes it to both app targets as NAJA_SCHEMATIC_VERSION_STRING, making
__init__.py the single version for the project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xtofalex
xtofalex merged commit c45fd31 into main Sep 28, 2026
14 checks passed
@xtofalex
xtofalex deleted the single-version branch September 28, 2026 13:00
xtofalex added a commit that referenced this pull request Sep 29, 2026
Derive the C++ app version from the Python package's __version__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant