This is an automated email from the ASF dual-hosted git repository.

xtsong pushed a commit to branch release-0.2
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


The following commit(s) were added to refs/heads/release-0.2 by this push:
     new c3935a68 [hotfix] Cap setuptools<82 to pull in pkg_resources module 
(#526)
c3935a68 is described below

commit c3935a6879461e9ff964583952763c3fcf2a7a5e
Author: Alan Z. <[email protected]>
AuthorDate: Mon Feb 9 19:35:53 2026 -0800

    [hotfix] Cap setuptools<82 to pull in pkg_resources module (#526)
---
 python/pyproject.toml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/python/pyproject.toml b/python/pyproject.toml
index 4e45c545..dbe69857 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

Reply via email to