Skip to content

Release 1.0.7 - Fix VSVersionInfo text serialization (str vs repr) - #8

Merged
LoveDoLove merged 1 commit into
mainfrom
release-1.0.7
Jul 5, 2026
Merged

Release 1.0.7 - Fix VSVersionInfo text serialization (str vs repr)#8
LoveDoLove merged 1 commit into
mainfrom
release-1.0.7

Conversation

@LoveDoLove

Copy link
Copy Markdown
Owner

Root Cause

\VSVersionInfo.repr()\ outputs qualified names like \�ersioninfo.VSVersionInfo(...), but PyInstaller's \load_version_info_from_text_file\ calls \eval(text)\ in a namespace where only unqualified class names (\VSVersionInfo, \FixedFileInfo, etc.) are defined — the \�ersioninfo\ module alias is not importable from within the module itself.

\VSVersionInfo.str()\ outputs unqualified names that \eval()\ can resolve — this is the same format PyInstaller's own \pyi-grab_version\ produces, which \load_version_info_from_text_file\ is designed to parse.

Fix

  • Change
    epr(vers)\ → \str(vers)\ in \LDLWinToolBox.spec:57\
  • Bump version to 1.0.7

Verification


  • uff check .\ — all checks passed
  • \VSVersionInfo.str()\ produces unqualified class names that are resolvable in \�ersioninfo.py\ module scope

Copilot AI review requested due to automatic review settings July 5, 2026 07:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@LoveDoLove LoveDoLove self-assigned this Jul 5, 2026
@LoveDoLove
LoveDoLove merged commit 792ac66 into main Jul 5, 2026
1 check passed
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.

2 participants