Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
fix(python-sdk): relax wcmatch constraint to `>=10.1,<12` (#1638)
Mish Ushakov998e560a1abb
diff --git a/.changeset/relax-wcmatch-constraint.md b/.changeset/relax-wcmatch-constraint.mdnew file mode 100644index 000000000..694b67fbf--- /dev/null+++ b/.changeset/relax-wcmatch-constraint.md@@ -0,0 +1,5 @@+---+'@e2b/python-sdk': patch+---++Relax the Python SDK's `wcmatch` requirement from `>=10.1,<11` to `>=10.1,<12` so `e2b` can be installed alongside packages that already require `wcmatch>=11` (for example `deepagents>=0.7.0`), which previously failed to resolve. The SDK only calls `glob.glob()` with `GLOBSTAR | DOTMATCH` for template context matching; wcmatch 11.0's single breaking change affects `translate()` callers using extended-glob capture groups, so it is a no-op here. The template glob test suite passes against 10.1, 10.2.1 and 11.0.diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.tomlindex 930cd05e3..4f22ba9f6 100644--- a/packages/python-sdk/pyproject.toml+++ b/packages/python-sdk/pyproject.toml@@ -8,7 +8,7 @@ readme = "README.md"requires-python = ">=3.10"dependencies = ["python-dateutil>=2.8.2",- "wcmatch>=10.1,<11",+ "wcmatch>=10.1,<12","protobuf-py>=0.1.1,<0.2","httpx>=0.27.0,<1.0.0","h2>=4,<5",diff --git a/packages/python-sdk/tests/shared/template/utils/get_all_files_in_path.py b/packages/python-sdk/tests/shared/template/utils/test_get_all_files_in_path.pysimilarity index 100%rename from packages/python-sdk/tests/shared/template/utils/get_all_files_in_path.pyrename to packages/python-sdk/tests/shared/template/utils/test_get_all_files_in_path.pydiff --git a/packages/python-sdk/uv.lock b/packages/python-sdk/uv.lockindex 359853a1d..f6f1014ca 100644--- a/packages/python-sdk/uv.lock+++ b/packages/python-sdk/uv.lock@@ -232,7 +232,7 @@ requires-dist = [{ name = "python-dateutil", specifier = ">=2.8.2" },{ name = "rich", specifier = ">=14.0.0" },{ name = "typing-extensions", specifier = ">=4.10.0" },- { name = "wcmatch", specifier = ">=10.1,<11" },+ { name = "wcmatch", specifier = ">=10.1,<12" },][package.metadata.requires-dev]@@ -1290,12 +1290,12 @@ wheels = [[[package]]name = "wcmatch"-version = "10.2.1"+version = "11.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "bracex" },]-sdist = { url = "https://files.pythonhosted.org/packages/11/15/dc61746d8c0852f6d711ad09c774b63cf7c8211aa49e30871ac3d342b7e2/wcmatch-10.2.1.tar.gz", hash = "sha256:ecac70a5c70e62ba854b78318d3a1408e8651f8f1c96e5837743b71aa6a4fb92", size = 132497, upload-time = "2026-07-02T17:21:48.484Z" }+sdist = { url = "https://files.pythonhosted.org/packages/16/25/1da725838132221e33568973da484ff43813662ccc06ebf7f6e3abddfcd5/wcmatch-11.0.tar.gz", hash = "sha256:55d95c2447789712774b198ceec72939e88b5618f1f8f0a9b605bf7740b63b96", size = 141360, upload-time = "2026-07-10T05:50:24.183Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/82/ba/20b48eedeab5316bf9a502bb9eb7e3b1588bd61d0f565822fefa8f06e10b/wcmatch-10.2.1-py3-none-any.whl", hash = "sha256:2d775395b93f233af66690f62cb9d52b084ec159a31cc4084f4069d72f437acd", size = 39763, upload-time = "2026-07-02T17:21:47.134Z" },+ { url = "https://files.pythonhosted.org/packages/28/12/f38b6fee116274d7221743caab07d765032e1370bb54cad8714f87aeb0e8/wcmatch-11.0-py3-none-any.whl", hash = "sha256:3a5977ace27e075eef67eb03d539563f1a19018b62881949a42932cf66926934", size = 42914, upload-time = "2026-07-10T05:50:22.995Z" },]