Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assemblymcp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""AssemblyMCP - MCP Server for Korean National Assembly Open API"""

__version__ = "0.1.0"
__version__ = "0.6.3"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To avoid manual synchronization between pyproject.toml and __init__.py, consider retrieving the version dynamically from the package metadata. This ensures a single source of truth and prevents the version from becoming out-of-sync in future releases, as happened previously (0.1.0 vs 0.6.3).

Suggested change
__version__ = "0.6.3"
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version("assemblymcp")
except PackageNotFoundError:
# Fallback if the package is not installed
__version__ = "0.6.3"

2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.