chore: update Python version to 3.10 and bump package version to 0.1.3 in pyproject.toml and server.py; modify GitHub Actions workflow to use hatch for building (#29)

This commit is contained in:
Haris
2025-05-20 09:35:30 +05:00
committed by GitHub
parent a8e4258aaf
commit 7f8c2be2f4
5 changed files with 6 additions and 9 deletions

View File

@ -22,13 +22,13 @@ jobs:
with:
python-version: "3.x"
- name: Install build dependencies
- name: Install hatch dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install hatch
- name: Build package
run: python -m build
run: hatch build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

View File

@ -1 +1 @@
3.12
3.10

View File

@ -1,6 +1,6 @@
[project]
name = "excel-mcp-server"
version = "0.1.2"
version = "0.1.3"
description = "Excel MCP Server for manipulating Excel files"
readme = "README.md"
requires-python = ">=3.10"

View File

@ -1,6 +1,5 @@
import asyncio
import typer
from typing import Optional
from .server import run_sse, run_stdio

View File

@ -1,5 +1,4 @@
import logging
import sys
import os
from typing import Any, List, Dict
@ -44,7 +43,6 @@ from excel_mcp.sheet import (
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
LOG_FILE = os.path.join(ROOT_DIR, "excel-mcp.log")
# Initialize EXCEL_FILES_PATH variable without assigning a value
EXCEL_FILES_PATH = None
@ -62,7 +60,7 @@ logger = logging.getLogger("excel-mcp")
# Initialize FastMCP server
mcp = FastMCP(
"excel-mcp",
version="0.1.2",
version="0.1.3",
description="Excel MCP Server for manipulating Excel files",
dependencies=["openpyxl>=3.1.2"],
env_vars={