Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
7adc857
1
Parent(s): 4e94652
Fix readline error
Browse files- .github/workflows/run-tests.yml +7 -0
- pyproject.toml +0 -2
- uv.lock +1 -12
.github/workflows/run-tests.yml
CHANGED
|
@@ -34,6 +34,13 @@ jobs:
|
|
| 34 |
matrix:
|
| 35 |
os: [ubuntu-latest, windows-latest, macos-latest]
|
| 36 |
python-version: ["3.10"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
fail-fast: false
|
| 38 |
|
| 39 |
steps:
|
|
|
|
| 34 |
matrix:
|
| 35 |
os: [ubuntu-latest, windows-latest, macos-latest]
|
| 36 |
python-version: ["3.10"]
|
| 37 |
+
# Use Python 3.11 for Windows to avoid the AttributeError with pyreadline in Python 3.10
|
| 38 |
+
exclude:
|
| 39 |
+
- os: windows-latest
|
| 40 |
+
python-version: "3.10"
|
| 41 |
+
include:
|
| 42 |
+
- os: windows-latest
|
| 43 |
+
python-version: "3.11"
|
| 44 |
fail-fast: false
|
| 45 |
|
| 46 |
steps:
|
pyproject.toml
CHANGED
|
@@ -5,8 +5,6 @@ description = "An ergonomic MCP interface"
|
|
| 5 |
authors = [{ name = "Jeremiah Lowin" }]
|
| 6 |
dependencies = [
|
| 7 |
"mcp>=1.6.0,<2.0.0",
|
| 8 |
-
# include to avoid AttributeError: module 'collections' has no attribute 'Callable'
|
| 9 |
-
"pyreadline3>=3.5.4",
|
| 10 |
"rich>=13.9.4",
|
| 11 |
]
|
| 12 |
requires-python = ">=3.10"
|
|
|
|
| 5 |
authors = [{ name = "Jeremiah Lowin" }]
|
| 6 |
dependencies = [
|
| 7 |
"mcp>=1.6.0,<2.0.0",
|
|
|
|
|
|
|
| 8 |
"rich>=13.9.4",
|
| 9 |
]
|
| 10 |
requires-python = ">=3.10"
|
uv.lock
CHANGED
|
@@ -220,11 +220,10 @@ wheels = [
|
|
| 220 |
|
| 221 |
[[package]]
|
| 222 |
name = "fastmcp"
|
| 223 |
-
version = "0.4.2.
|
| 224 |
source = { editable = "." }
|
| 225 |
dependencies = [
|
| 226 |
{ name = "mcp" },
|
| 227 |
-
{ name = "pyreadline3" },
|
| 228 |
{ name = "rich" },
|
| 229 |
]
|
| 230 |
|
|
@@ -245,7 +244,6 @@ dev = [
|
|
| 245 |
[package.metadata]
|
| 246 |
requires-dist = [
|
| 247 |
{ name = "mcp", specifier = ">=1.6.0,<2.0.0" },
|
| 248 |
-
{ name = "pyreadline3", specifier = ">=3.5.4" },
|
| 249 |
{ name = "rich", specifier = ">=13.9.4" },
|
| 250 |
]
|
| 251 |
|
|
@@ -717,15 +715,6 @@ version = "2.1"
|
|
| 717 |
source = { registry = "https://pypi.org/simple" }
|
| 718 |
sdist = { url = "https://files.pythonhosted.org/packages/bc/7c/d724ef1ec3ab2125f38a1d53285745445ec4a8f19b9bb0761b4064316679/pyreadline-2.1.zip", hash = "sha256:4530592fc2e85b25b1a9f79664433da09237c1a270e4d78ea5aa3a2c7229e2d1", size = 109189 }
|
| 719 |
|
| 720 |
-
[[package]]
|
| 721 |
-
name = "pyreadline3"
|
| 722 |
-
version = "3.5.4"
|
| 723 |
-
source = { registry = "https://pypi.org/simple" }
|
| 724 |
-
sdist = { url = "https://files.pythonhosted.org/packages/0f/49/4cea918a08f02817aabae639e3d0ac046fef9f9180518a3ad394e22da148/pyreadline3-3.5.4.tar.gz", hash = "sha256:8d57d53039a1c75adba8e50dd3d992b28143480816187ea5efbd5c78e6c885b7", size = 99839 }
|
| 725 |
-
wheels = [
|
| 726 |
-
{ url = "https://files.pythonhosted.org/packages/5a/dc/491b7661614ab97483abf2056be1deee4dc2490ecbf7bff9ab5cdbac86e1/pyreadline3-3.5.4-py3-none-any.whl", hash = "sha256:eaf8e6cc3c49bcccf145fc6067ba8643d1df34d604a1ec0eccbf7a18e6d3fae6", size = 83178 },
|
| 727 |
-
]
|
| 728 |
-
|
| 729 |
[[package]]
|
| 730 |
name = "pyrepl"
|
| 731 |
version = "0.9.0"
|
|
|
|
| 220 |
|
| 221 |
[[package]]
|
| 222 |
name = "fastmcp"
|
| 223 |
+
version = "0.4.2.dev17+gfc3fc4e.d20250407"
|
| 224 |
source = { editable = "." }
|
| 225 |
dependencies = [
|
| 226 |
{ name = "mcp" },
|
|
|
|
| 227 |
{ name = "rich" },
|
| 228 |
]
|
| 229 |
|
|
|
|
| 244 |
[package.metadata]
|
| 245 |
requires-dist = [
|
| 246 |
{ name = "mcp", specifier = ">=1.6.0,<2.0.0" },
|
|
|
|
| 247 |
{ name = "rich", specifier = ">=13.9.4" },
|
| 248 |
]
|
| 249 |
|
|
|
|
| 715 |
source = { registry = "https://pypi.org/simple" }
|
| 716 |
sdist = { url = "https://files.pythonhosted.org/packages/bc/7c/d724ef1ec3ab2125f38a1d53285745445ec4a8f19b9bb0761b4064316679/pyreadline-2.1.zip", hash = "sha256:4530592fc2e85b25b1a9f79664433da09237c1a270e4d78ea5aa3a2c7229e2d1", size = 109189 }
|
| 717 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 718 |
[[package]]
|
| 719 |
name = "pyrepl"
|
| 720 |
version = "0.9.0"
|