diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2401213..d288b1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: hooks: - id: yamlfmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.10.0 + rev: v0.11.0 hooks: - id: ruff args: [--fix] @@ -26,7 +26,7 @@ repos: hooks: - id: mypy args: [] - additional_dependencies: ["mcp>=1.3,<1.4", "youtube-transcript-api>=1.0.1", "beautifulsoup4>=4.13.3", "pytest>=8.3.5", "pytest-mock>=3.14", "types-requests>=2.32.0.20250306"] + additional_dependencies: ["mcp>=1.4.1", "youtube-transcript-api>=1.0.1", "beautifulsoup4>=4.13.3", "pytest>=8.3.5", "pytest-mock>=3.14", "types-requests>=2.32.0.20250306"] - repo: local hooks: - id: pytest diff --git a/pyproject.toml b/pyproject.toml index 2f15601..5aee1ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "hatchling" ] [project] name = "mcp-youtube-transcript" -version = "0.2.1" +version = "0.3.0" description = "MCP server retrieving transcripts of YouTube videos" readme = "README.md" authors = [ @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "beautifulsoup4>=4.13.3", "click>=8.1.8", - "mcp>=1.3,<1.4", + "mcp>=1.4.1", "pydantic>=2.10.6", "requests>=2.32.3", "youtube-transcript-api>=1.0.1", @@ -50,7 +50,7 @@ line-length = 120 indent = 4 [tool.bumpversion] -current_version = "0.2.1" +current_version = "0.3.0" commit = true pre_commit_hooks = [ "uv sync", diff --git a/uv.lock b/uv.lock index e29f1e3..9c8a976 100644 --- a/uv.lock +++ b/uv.lock @@ -291,7 +291,7 @@ wheels = [ [[package]] name = "mcp" -version = "1.3.0" +version = "1.4.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, @@ -303,14 +303,14 @@ dependencies = [ { name = "starlette" }, { name = "uvicorn" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6b/b6/81e5f2490290351fc97bf46c24ff935128cb7d34d68e3987b522f26f7ada/mcp-1.3.0.tar.gz", hash = "sha256:f409ae4482ce9d53e7ac03f3f7808bcab735bdfc0fba937453782efb43882d45", size = 150235 } +sdist = { url = "https://files.pythonhosted.org/packages/50/cc/5c5bb19f1a0f8f89a95e25cb608b0b07009e81fd4b031e519335404e1422/mcp-1.4.1.tar.gz", hash = "sha256:b9655d2de6313f9d55a7d1df62b3c3fe27a530100cc85bf23729145b0dba4c7a", size = 154942 } wheels = [ - { url = "https://files.pythonhosted.org/packages/d0/d2/a9e87b506b2094f5aa9becc1af5178842701b27217fa43877353da2577e3/mcp-1.3.0-py3-none-any.whl", hash = "sha256:2829d67ce339a249f803f22eba5e90385eafcac45c94b00cab6cef7e8f217211", size = 70672 }, + { url = "https://files.pythonhosted.org/packages/e8/0e/885f156ade60108e67bf044fada5269da68e29d758a10b0c513f4d85dd76/mcp-1.4.1-py3-none-any.whl", hash = "sha256:a7716b1ec1c054e76f49806f7d96113b99fc1166fc9244c2c6f19867cb75b593", size = 72448 }, ] [[package]] name = "mcp-youtube-transcript" -version = "0.2.1" +version = "0.3.0" source = { editable = "." } dependencies = [ { name = "beautifulsoup4" }, @@ -335,7 +335,7 @@ dev = [ requires-dist = [ { name = "beautifulsoup4", specifier = ">=4.13.3" }, { name = "click", specifier = ">=8.1.8" }, - { name = "mcp", specifier = ">=1.3,<1.4" }, + { name = "mcp", specifier = ">=1.4.1" }, { name = "pydantic", specifier = ">=2.10.6" }, { name = "requests", specifier = ">=2.32.3" }, { name = "youtube-transcript-api", specifier = ">=1.0.1" },