Skip to content

ci(docs-backfill): inject __version__ for old tttrlib#59

Merged
tpeulen merged 1 commit into
developmentfrom
ci/backfill-version-attr
Jul 20, 2026
Merged

ci(docs-backfill): inject __version__ for old tttrlib#59
tpeulen merged 1 commit into
developmentfrom
ci/backfill-version-attr

Conversation

@tpeulen

@tpeulen tpeulen commented Jul 20, 2026

Copy link
Copy Markdown
Member

Follow-up. With Boost + submodules fixed, 0.25.1's tttrlib now compiles — but its old conf.py reads tttrlib.__version__ unguarded, and old tttrlib doesn't expose it (AttributeError: module 'tttrlib' has no attribute '__version__' → ConfigError). Inject __version__ (= the version being built) into the installed module when it's missing.

0.26.x already build correctly (0.26.0 now reports v0.26.0). After merge, re-run for 0.25.1/0.24.4.

Old tttrlib (0.24.x/0.25.x) does not expose __version__, which the old conf.py
reads unguarded and crashes on (AttributeError -> ConfigError). Inject
__version__ (= the version being built) into the installed module when missing.
@tpeulen
tpeulen merged commit 82385d9 into development Jul 20, 2026
26 checks 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.

1 participant