feat!: Upgrade to include python3.14

pin crew ai to 3.13 at highest version as it uses chromadb and that uses onnxruntime which does not work yet with 3.14

Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 831508884
This commit is contained in:
George Weale
2025-11-12 13:09:00 -08:00
committed by Copybara-Service
parent d12468ee5a
commit 675ecaa8db
2 changed files with 3 additions and 6 deletions
+3 -3
View File
@@ -14,11 +14,11 @@ classifiers = [ # List of https://pypi.org/classifiers/
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
@@ -115,7 +115,7 @@ test = [
# go/keep-sorted start
"a2a-sdk>=0.3.0,<0.4.0;python_version>='3.10'",
"anthropic>=0.43.0", # For anthropic model tests
"crewai[tools];python_version>='3.10'", # For CrewaiTool tests
"crewai[tools];python_version>='3.10' and python_version<'3.14'", # For CrewaiTool tests
"kubernetes>=29.0.0", # For GkeCodeExecutor
"langchain-community>=0.3.17",
"langgraph>=0.2.60, <0.4.8", # For LangGraphAgent
@@ -145,7 +145,7 @@ docs = [
extensions = [
"anthropic>=0.43.0", # For anthropic model support
"beautifulsoup4>=3.2.2", # For load_web_page tool.
"crewai[tools];python_version>='3.10'", # For CrewaiTool
"crewai[tools];python_version>='3.10' and python_version<'3.14'", # For CrewaiTool
"docker>=7.0.0", # For ContainerCodeExecutor
"kubernetes>=29.0.0", # For GkeCodeExecutor
"langgraph>=0.2.60, <0.4.8", # For LangGraphAgent
@@ -143,8 +143,6 @@ def test_run_cmd_overwrite_reject(
(agent_dir / "dummy.txt").write_text("dummy")
monkeypatch.setattr(os, "getcwd", lambda: str(tmp_path))
monkeypatch.setattr(os.path, "exists", lambda _p: True)
monkeypatch.setattr(os, "listdir", lambda _p: ["dummy.txt"])
monkeypatch.setattr(click, "confirm", lambda *a, **k: False)
with pytest.raises(click.Abort):
@@ -165,7 +163,6 @@ def test_run_cmd_with_type_config(
agent_name = "test_agent"
monkeypatch.setattr(os, "getcwd", lambda: str(tmp_path))
monkeypatch.setattr(os.path, "exists", lambda _p: False)
cli_create.run_cmd(
agent_name,