Skip to content

Fix CI: do not hardcode package version in tests - #7

Merged
bluesentinelsec merged 1 commit into
mainfrom
fix/version-test-no-hardcode
Jul 27, 2026
Merged

Fix CI: do not hardcode package version in tests#7
bluesentinelsec merged 1 commit into
mainfrom
fix/version-test-no-hardcode

Conversation

@bluesentinelsec

Copy link
Copy Markdown
Owner

Summary

Main CI failed on the 0.2.0 release push:

`AssertionError: assert '0.2.0' == '0.1.0'` in `test_version_exported`.

Compare against `cppboot._version.version` instead of a hardcoded string.

Test plan

  • pytest layout/version tests
  • CI green on this PR / main after merge

test_version_exported asserted 0.1.0 and failed on the 0.2.0 release
commit. Compare against cppboot._version instead.
@bluesentinelsec
bluesentinelsec merged commit a5fe69e into main Jul 27, 2026
11 checks passed
@bluesentinelsec
bluesentinelsec deleted the fix/version-test-no-hardcode branch July 27, 2026 18:02
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