π The fast, Pythonic way to build MCP servers and clients.
Update windows tests
Jeremiah Lowin6ab5633803ed
diff --git a/.github/workflows/run-static.yml b/.github/workflows/run-static.ymlindex 0eae35b2b..b837b5d14 100644--- a/.github/workflows/run-static.yml+++ b/.github/workflows/run-static.yml@@ -28,9 +28,3 @@ jobs:python-version: "3.12"- name: Run pre-commituses: pre-commit/[email protected]- - name: Install dependencies- run: |- python -m pip install --upgrade pip- pip install ".[tests]"- - name: Run pyright- run: pyright src testsdiff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex f07597d36..891323dc7 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -34,13 +34,6 @@ jobs:matrix:os: [ubuntu-latest, windows-latest, macos-latest]python-version: ["3.10"]- # Use Python 3.11 for Windows to avoid the AttributeError with pyreadline in Python 3.10- exclude:- - os: windows-latest- python-version: "3.10"- include:- - os: windows-latest- python-version: "3.11"fail-fast: falsesteps:@@ -55,6 +48,12 @@ jobs:- name: Install FastMCPrun: uv sync+ - name: Fix pyreadline on Windows+ if: matrix.os == 'windows-latest'+ run: |+ uv pip uninstall -y pyreadline+ uv pip install pyreadline3+- name: Run testsrun: uv run pytest -vvif: ${{ !(github.event.pull_request.head.repo.fork) }}