Skip to content

Commit edb414f

Browse files
committed
fix(deps, ci): Align Python requirement (>=3.10) with mcp dependency
Resolves GitHub Actions CI failures during dependency installation. The `mcp` package requires Python 3.10 or higher, causing the build to fail on the previous Python 3.9 runner. This commit: - Updates `pyproject.toml` to set `requires-python = ">=3.10"`. - Modifies the CI workflow matrix in `.github/workflows/ci.yml` to test against Python versions 3.10, 3.11, and 3.12, removing the incompatible 3.9 version.
1 parent 7c36c1d commit edb414f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ "3.9", "3.12" ] # Test on supported Python versions
14+
python-version: [ "3.10", "3.11", "3.12" ] # Test on supported Python versions (mcp requires >=3.10)
1515

1616
steps:
1717
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
]
1111
description = "Model Context Protocol (MCP) implementation for Jupyter notebooks to overcome limitation with Cursor"
1212
readme = "README.md"
13-
requires-python = ">=3.9"
13+
requires-python = ">=3.10"
1414
license = { file = "LICENSE" }
1515
keywords = ["jupyter", "notebook", "mcp", "cursor", "ai", "agent", "nbformat", "ipynb"]
1616
classifiers = [

0 commit comments

Comments
 (0)