Skip to content

refactor: derive package version from metadata#58

Merged
StatPan merged 2 commits intomasterfrom
fix/sync-version-0.6.4
Mar 31, 2026
Merged

refactor: derive package version from metadata#58
StatPan merged 2 commits intomasterfrom
fix/sync-version-0.6.4

Conversation

@StatPan
Copy link
Copy Markdown
Owner

@StatPan StatPan commented Mar 31, 2026

Summary

  • remove the hard-coded assemblymcp.__version__ constant
  • derive package version from installed metadata instead
  • add a regression test to keep runtime version and package metadata aligned

Why

  • automatic version bumps were updating pyproject.toml without keeping assemblymcp.__version__ in sync
  • this makes runtime version reporting depend on a single source of truth

Validation

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pytest -q -> 68 passed

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the version of the assemblymcp package to 0.6.4 in both the source code and the lockfile. I have no feedback to provide.

@StatPan StatPan changed the title fix: sync package version metadata to v0.6.4 refactor: derive package version from metadata Mar 31, 2026
@StatPan
Copy link
Copy Markdown
Owner Author

StatPan commented Mar 31, 2026

Merged manually into master after repeated GitHub merge API failures (502 / merge already in progress). The merged content is identical to this PR branch. Local verification after merge: uv run pytest -q -> 68 passed.

@StatPan StatPan merged commit 8b193e3 into master Mar 31, 2026
2 checks passed
@StatPan
Copy link
Copy Markdown
Owner Author

StatPan commented Mar 31, 2026

Closing this PR because its changes have been merged manually into master as commit 8b193e3 after GitHub merge API instability. The branch content is now on master.

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