Skip to content

Bump version to 0.4.0#3

Merged
fatherlinux merged 1 commit into
mainfrom
chore/bump-v0.4.0
Mar 21, 2026
Merged

Bump version to 0.4.0#3
fatherlinux merged 1 commit into
mainfrom
chore/bump-v0.4.0

Conversation

@fatherlinux
Copy link
Copy Markdown
Member

Summary

Test plan

  • Merge, tag v0.4.0, confirm GHA rebuild triggers

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fatherlinux fatherlinux merged commit 7a86bbb into main Mar 21, 2026
7 of 9 checks passed
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request synchronizes the project's version number across all relevant configuration and source files to 0.4.0. This update reflects recent feature additions, specifically the trove_quality tool, ensuring consistency in version reporting throughout the application.

Highlights

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

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 PR correctly bumps the version to 0.4.0 in pyproject.toml, __init__.py, and server.py. However, this manual process across multiple files is error-prone. I've left a suggestion to consolidate the version number to a single source of truth to simplify future version bumps. Additionally, I noticed the version number is also hardcoded in Containerfile (line 30) and is currently out of date (0.2.0). While this file isn't part of the current changes, it would be beneficial to update it as well to ensure consistency across the project.

Comment thread pyproject.toml
[project]
name = "mcp-trove-crunchtools"
version = "0.3.0"
version = "0.4.0"
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 manually updating the version in multiple files, consider making pyproject.toml the single source of truth. You can then read the version dynamically in your code using importlib.metadata. This prevents inconsistencies and simplifies future version bumps.

For example:

In src/mcp_trove_crunchtools/__init__.py:

from importlib import metadata

try:
    __version__ = metadata.version("mcp-trove-crunchtools")
except metadata.PackageNotFoundError:
    # package is not installed, e.g., in development
    __version__ = "0.0.0-dev"

Then, in src/mcp_trove_crunchtools/server.py, you can simply import it:

from . import __version__

mcp = FastMCP(
    "mcp-trove-crunchtools",
    version=__version__,
    # ...
)

This change would make version management more robust.

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