Skip to content

Commit 93f3241

Browse files
committed
chore: fix CI - bump gitpython/pyasn1, drop stale type ignores
- gitpython 3.1.50 -> 3.1.52 (GHSA-2f96-g7mh-g2hx, GHSA-v396-v7q4-x2qj, GHSA-956x-8gvw-wg5v; fixed in 3.1.51) - pyasn1 0.6.3 -> 0.6.4 (GHSA-8ppf-4f7h-5ppj, GHSA-hm4w-wwcw-mr6r) - json-repair 0.60 ships type stubs; remove now-unused type: ignore[import-untyped] comments flagged by mypy
1 parent 9543340 commit 93f3241

5 files changed

Lines changed: 16 additions & 12 deletions

File tree

lib/crewai-tools/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ stagehand = [
107107
"stagehand>=0.4.1",
108108
]
109109
github = [
110-
"gitpython>=3.1.50,<4",
110+
"gitpython>=3.1.51,<4",
111111
"PyGithub==1.59.1",
112112
]
113113
rag = [

lib/crewai/src/crewai/agents/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from dataclasses import dataclass
99

10-
from json_repair import repair_json # type: ignore[import-untyped]
10+
from json_repair import repair_json
1111
from pydantic import BaseModel
1212

1313
from crewai.agents.constants import (

lib/crewai/src/crewai/tools/tool_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from crewai_core.printer import PRINTER
1313
import json5
14-
from json_repair import repair_json # type: ignore[import-untyped]
14+
from json_repair import repair_json
1515

1616
from crewai.events.event_bus import crewai_event_bus
1717
from crewai.events.types.tool_usage_events import (

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ exclude-newer-package = { pypdf = "2026-06-18T00:00:00Z", msgpack = "2026-06-20T
187187
# uv <0.11.15 has GHSA-4gg8-gxpx-9rph (and earlier GHSA-pjjw-68hj-v9mw); force 0.11.15+.
188188
# python-multipart <0.0.27 has GHSA-pp6c-gr5w-3c5g (DoS via unbounded multipart headers).
189189
# gitpython <3.1.50 has GHSA-mv93-w799-cj2w (config_writer newline injection bypassing the 3.1.49 patch -> RCE via core.hooksPath).
190+
# gitpython <3.1.51 has GHSA-2f96-g7mh-g2hx, GHSA-v396-v7q4-x2qj, and GHSA-956x-8gvw-wg5v; force 3.1.51+.
191+
# pyasn1 <0.6.4 has GHSA-8ppf-4f7h-5ppj and GHSA-hm4w-wwcw-mr6r; force 0.6.4+.
190192
# urllib3 <2.7.0 has GHSA-qccp-gfcp-xxvc (ProxyManager cross-origin redirect leaks Authorization/Cookie) and GHSA-mf9v-mfxr-j63j (streaming decompression-bomb bypass); force 2.7.0+.
191193
# langsmith <0.8.18 has GHSA-3644-q5cj-c5c7 (public prompt manifest deserialization, SSRF/secret disclosure)
192194
# and GHSA-f4xh-w4cj-qxq8; force 0.8.18+.
@@ -214,7 +216,8 @@ override-dependencies = [
214216
"pypdf>=6.13.3,<7",
215217
"uv>=0.11.15,<1",
216218
"python-multipart>=0.0.27,<1",
217-
"gitpython>=3.1.50,<4",
219+
"gitpython>=3.1.51,<4",
220+
"pyasn1>=0.6.4",
218221
"langsmith>=0.8.18,<1",
219222
"authlib>=1.6.12",
220223
"pip>=26.1.2",

uv.lock

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)