From 73d8de975fe967e2b95d29f891b8501a0d90e2ea Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Mon, 18 Nov 2024 17:06:15 +0000 Subject: [PATCH] Restrict anyio to 4.6 and above We are using features from 4.6 so we want to make sure we use a recednt one --- pyproject.toml | 4 ++-- uv.lock | 22 +++++++++------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 852cd32..f2152f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mcp" -version = "0.8.0" +version = "0.8.0.dev0" description = "Model Context Protocol implementation for Python" readme = "README.md" requires-python = ">=3.10" @@ -23,7 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", ] dependencies = [ - "anyio", + "anyio>=4.6", "httpx", "httpx-sse", "pydantic>=2.0.0", diff --git a/uv.lock b/uv.lock index 7757505..3e01f45 100644 --- a/uv.lock +++ b/uv.lock @@ -89,10 +89,9 @@ wheels = [ [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 } +source = { registry = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/simple" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 }, + { url = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/colorama/0.4.6/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6" }, ] [[package]] @@ -107,10 +106,9 @@ wheels = [ [[package]] name = "h11" version = "0.14.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", size = 100418 } +source = { registry = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/simple" } wheels = [ - { url = "https://files.pythonhosted.org/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761", size = 58259 }, + { url = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/h11/0.14.0/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761" }, ] [[package]] @@ -163,10 +161,9 @@ wheels = [ [[package]] name = "iniconfig" version = "2.0.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } +source = { registry = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/simple" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, + { url = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/iniconfig/2.0.0/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374" }, ] [[package]] @@ -192,7 +189,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "anyio" }, + { name = "anyio", specifier = ">=4.6" }, { name = "httpx" }, { name = "httpx-sse" }, { name = "pydantic", specifier = ">=2.0.0" }, @@ -503,10 +500,9 @@ wheels = [ [[package]] name = "sortedcontainers" version = "2.4.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e8/c4/ba2f8066cceb6f23394729afe52f3bf7adec04bf9ed2c820b39e19299111/sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88", size = 30594 } +source = { registry = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/simple" } wheels = [ - { url = "https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0", size = 29575 }, + { url = "https://artifactory.infra.ant.dev/artifactory/api/pypi/pypi-internal/sortedcontainers/2.4.0/sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0" }, ] [[package]]