diff --git a/python/pyproject.toml b/python/pyproject.toml index b060a3d8d2..69fea94592 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -18,7 +18,7 @@ [build-system] # Minimum requirements for the build system to execute. requires = [ - "setuptools>=75.3", + "setuptools>=75.3,<82", "wheel", ] build-backend = "setuptools.build_meta" @@ -46,7 +46,7 @@ dependencies = [ "docstring-parser==0.16", "pyyaml==6.0.2", "mcp>=1.8.0", - "setuptools>=75.3", + "setuptools>=75.3,<82", "find_libpython", #TODO: Seperate integration dependencies from project "ollama==0.6.1", @@ -115,6 +115,10 @@ required-environments = [ "sys_platform == 'win32'", ] +# setuptools 82.0.0 removed pkg_resources, which breaks apache-beam<2.66.0 build +[tool.uv.extra-build-dependencies] +apache-beam = ["setuptools<82"] + [tool.ruff] line-length = 88 fix = true