From 35464f87981fd703becf4e786c0bd02a6f83b236 Mon Sep 17 00:00:00 2001 From: Nick Ferguson <98440329+itprodirect@users.noreply.github.com> Date: Mon, 15 Sep 2025 17:30:36 -0400 Subject: [PATCH] docs: require Python 3.10+ --- .github/workflows/ci.yml | 6 ++++++ README.md | 4 ++-- requirements.txt | 10 ++++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eaa8930..dc631ab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,12 @@ jobs: run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with ruff + run: | + ruff . + - name: Type check with mypy + run: | + mypy --strict . - name: Run tests run: | if [ -d tests ]; then pytest -q; else echo "No tests"; fi diff --git a/README.md b/README.md index c21752b2..d3835795 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🚀 Model-Context-Protocol-101 -[![Python](https://img.shields.io/badge/Python-3.8%2B-blue.svg)](https://www.python.org/) +[![Python](https://img.shields.io/badge/Python-3.10%2B-blue.svg)](https://www.python.org/) [![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Build Status](https://img.shields.io/github/actions/workflow/status/itprodirect/Model-Context-Protocol-101/ci.yml)](https://github.com/itprodirect/Model-Context-Protocol-101/actions) [![Dependencies](https://img.shields.io/badge/Dependencies-Updated-brightgreen.svg)](https://github.com/itprodirect/Model-Context-Protocol-101/blob/main/requirements.txt) @@ -159,7 +159,7 @@ For questions or collaborations, connect with me on **LinkedIn** or open an **Is **Virtual environment won't activate** Make sure you run `python -m venv venv` and then activate it with `source venv/bin/activate` on Mac/Linux or `venv\Scripts\activate` on Windows. -Verify Python 3.8+ is installed. +Verify Python 3.10+ is installed. **Missing packages** Run `pip install -r requirements.txt` from the project root while your virtual diff --git a/requirements.txt b/requirements.txt index 7f7cc3d1..14ae76f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ -fastmcp -pandas -jupyter -pytest +fastmcp==2.12.2 +pandas==2.3.2 +jupyter==1.1.1 +pytest==8.4.1 +ruff==0.12.11 +mypy==1.17.1