Skip to content

Conversation

@vgvoleg
Copy link
Collaborator

@vgvoleg vgvoleg commented Apr 25, 2025

No description provided.

@vgvoleg vgvoleg requested a review from blinkov April 25, 2025 10:46
@blinkov blinkov requested a review from Copilot April 25, 2025 10:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the package’s CI/CD and versioning strategy while streamlining version management. Key changes include:

  • Introducing a dedicated version file and autoversion support through pyproject.toml.
  • Removing setup.py in favor of pyproject.toml and updating package dependencies.
  • Adding a GitHub Actions workflow for publishing package releases and an incremental version script.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ydb_mcp/version.py New version constant defined.
ydb_mcp/init.py Updated to import VERSION from version.py and set version.
setup.py Removed setup.py in favor of modern packaging with pyproject.toml.
pyproject.toml Updated metadata, version, and dependency requirements.
CHANGELOG.md Initial changelog added.
.github/workflows/python-publish.yml New release workflow; note the Python version setup.
.github/scripts/increment_version.py Added version increment script with autoversion support.
Comments suppressed due to low confidence (1)

.github/scripts/increment_version.py:27

  • [nitpick] The class declares an attribute 'patch' but uses 'micro' when assigning the patch version. Consider using consistent naming (either 'patch' or 'micro') for clarity.
self.micro = version.micro

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
Copy link

Copilot AI Apr 25, 2025

Choose a reason for hiding this comment

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

The workflow is configured to use Python 3.9, but pyproject.toml requires Python >=3.10. Consider updating the workflow to use a compatible Python version.

Suggested change
python-version: '3.9'
python-version: '3.10'

Copilot uses AI. Check for mistakes.
@vgvoleg vgvoleg merged commit cd70e93 into main Apr 25, 2025
2 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.

3 participants