This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/release-0.1 by this push:
new 766f7c35 [hotfix] Cap setuptools<82 to pull in pkg_resources module
(#526)
766f7c35 is described below
commit 766f7c35b1b89815dba92846d1be40de33e6553d
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 ffeaf73a..10c9aeae 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"
@@ -47,7 +47,7 @@ dependencies = [
"docstring-parser==0.16",
"pyyaml==6.0.2",
"mcp>=1.8.0",
- "setuptools>=75.3",
+ "setuptools>=75.3,<82",
#TODO: Seperate integration dependencies from project
"ollama==0.4.8",
"dashscope~=1.24.2",
@@ -105,6 +105,10 @@ archs = ["x86_64"]
# Currently a single package project, but ready for workspace expansion
members = ["."]
+# 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