Spaces:
Running
Running
Merge pull request #454 from jlowin/python-version
Browse files- .github/workflows/run-tests.yml +3 -12
- uv.lock +4 -4
.github/workflows/run-tests.yml
CHANGED
|
@@ -45,18 +45,9 @@ jobs:
|
|
| 45 |
with:
|
| 46 |
enable-cache: true
|
| 47 |
cache-dependency-glob: "uv.lock"
|
| 48 |
-
|
| 49 |
-
- name: Set up Python ${{ matrix.python-version }}
|
| 50 |
-
run: uv python install ${{ matrix.python-version }}
|
| 51 |
-
|
| 52 |
- name: Install FastMCP
|
| 53 |
-
run: uv sync --dev
|
| 54 |
-
|
| 55 |
-
- name: Fix pyreadline on Windows
|
| 56 |
-
if: matrix.os == 'windows-latest'
|
| 57 |
-
run: |
|
| 58 |
-
uv pip uninstall -y pyreadline
|
| 59 |
-
uv pip install pyreadline3
|
| 60 |
|
| 61 |
- name: Run tests
|
| 62 |
-
run: uv run
|
|
|
|
| 45 |
with:
|
| 46 |
enable-cache: true
|
| 47 |
cache-dependency-glob: "uv.lock"
|
| 48 |
+
python-version: ${{ matrix.python-version }}
|
|
|
|
|
|
|
|
|
|
| 49 |
- name: Install FastMCP
|
| 50 |
+
run: uv sync --dev --locked
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
- name: Run tests
|
| 53 |
+
run: uv run pytest
|
uv.lock
CHANGED
|
@@ -340,7 +340,7 @@ dev = [
|
|
| 340 |
requires-dist = [
|
| 341 |
{ name = "exceptiongroup", specifier = ">=1.2.2" },
|
| 342 |
{ name = "httpx", specifier = ">=0.28.1" },
|
| 343 |
-
{ name = "mcp", specifier = ">=1.8.
|
| 344 |
{ name = "openapi-pydantic", specifier = ">=0.5.1" },
|
| 345 |
{ name = "python-dotenv", specifier = ">=1.1.0" },
|
| 346 |
{ name = "rich", specifier = ">=13.9.4" },
|
|
@@ -573,7 +573,7 @@ wheels = [
|
|
| 573 |
|
| 574 |
[[package]]
|
| 575 |
name = "mcp"
|
| 576 |
-
version = "1.8.
|
| 577 |
source = { registry = "https://pypi.org/simple" }
|
| 578 |
dependencies = [
|
| 579 |
{ name = "anyio" },
|
|
@@ -586,9 +586,9 @@ dependencies = [
|
|
| 586 |
{ name = "starlette" },
|
| 587 |
{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
|
| 588 |
]
|
| 589 |
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
| 590 |
wheels = [
|
| 591 |
-
{ url = "https://files.pythonhosted.org/packages/
|
| 592 |
]
|
| 593 |
|
| 594 |
[[package]]
|
|
|
|
| 340 |
requires-dist = [
|
| 341 |
{ name = "exceptiongroup", specifier = ">=1.2.2" },
|
| 342 |
{ name = "httpx", specifier = ">=0.28.1" },
|
| 343 |
+
{ name = "mcp", specifier = ">=1.8.1,<2.0.0" },
|
| 344 |
{ name = "openapi-pydantic", specifier = ">=0.5.1" },
|
| 345 |
{ name = "python-dotenv", specifier = ">=1.1.0" },
|
| 346 |
{ name = "rich", specifier = ">=13.9.4" },
|
|
|
|
| 573 |
|
| 574 |
[[package]]
|
| 575 |
name = "mcp"
|
| 576 |
+
version = "1.8.1"
|
| 577 |
source = { registry = "https://pypi.org/simple" }
|
| 578 |
dependencies = [
|
| 579 |
{ name = "anyio" },
|
|
|
|
| 586 |
{ name = "starlette" },
|
| 587 |
{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
|
| 588 |
]
|
| 589 |
+
sdist = { url = "https://files.pythonhosted.org/packages/7c/13/16b712e8a3be6a736b411df2fc6b4e75eb1d3e99b1cd57a3a1decf17f612/mcp-1.8.1.tar.gz", hash = "sha256:ec0646271d93749f784d2316fb5fe6102fb0d1be788ec70a9e2517e8f2722c0e", size = 265605, upload-time = "2025-05-12T17:33:57.887Z" }
|
| 590 |
wheels = [
|
| 591 |
+
{ url = "https://files.pythonhosted.org/packages/1c/5d/91cf0d40e40ae9ecf8d4004e0f9611eea86085aa0b5505493e0ff53972da/mcp-1.8.1-py3-none-any.whl", hash = "sha256:948e03783859fa35abe05b9b6c0a1d5519be452fc079dc8d7f682549591c1770", size = 119761, upload-time = "2025-05-12T17:33:56.136Z" },
|
| 592 |
]
|
| 593 |
|
| 594 |
[[package]]
|