Merge branch 'main' into lorenze/agent-executor-flow-pattern

This commit is contained in:
Lorenze Jay
2025-12-16 10:08:56 -08:00
committed by GitHub
8 changed files with 64 additions and 51 deletions

View File

@@ -12,7 +12,7 @@ dependencies = [
"pytube~=15.0.0", "pytube~=15.0.0",
"requests~=2.32.5", "requests~=2.32.5",
"docker~=7.1.0", "docker~=7.1.0",
"crewai==1.7.0", "crewai==1.7.1",
"lancedb~=0.5.4", "lancedb~=0.5.4",
"tiktoken~=0.8.0", "tiktoken~=0.8.0",
"beautifulsoup4~=4.13.4", "beautifulsoup4~=4.13.4",

View File

@@ -291,4 +291,4 @@ __all__ = [
"ZapierActionTools", "ZapierActionTools",
] ]
__version__ = "1.7.0" __version__ = "1.7.1"

View File

@@ -49,7 +49,7 @@ Repository = "https://github.com/crewAIInc/crewAI"
[project.optional-dependencies] [project.optional-dependencies]
tools = [ tools = [
"crewai-tools==1.7.0", "crewai-tools==1.7.1",
] ]
embeddings = [ embeddings = [
"tiktoken~=0.8.0" "tiktoken~=0.8.0"

View File

@@ -40,7 +40,7 @@ def _suppress_pydantic_deprecation_warnings() -> None:
_suppress_pydantic_deprecation_warnings() _suppress_pydantic_deprecation_warnings()
__version__ = "1.7.0" __version__ = "1.7.1"
_telemetry_submitted = False _telemetry_submitted = False

View File

@@ -5,7 +5,7 @@ description = "{{name}} using crewAI"
authors = [{ name = "Your Name", email = "you@example.com" }] authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.10,<3.14" requires-python = ">=3.10,<3.14"
dependencies = [ dependencies = [
"crewai[tools]==1.7.0" "crewai[tools]==1.7.1"
] ]
[project.scripts] [project.scripts]

View File

@@ -5,7 +5,7 @@ description = "{{name}} using crewAI"
authors = [{ name = "Your Name", email = "you@example.com" }] authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.10,<3.14" requires-python = ">=3.10,<3.14"
dependencies = [ dependencies = [
"crewai[tools]==1.7.0" "crewai[tools]==1.7.1"
] ]
[project.scripts] [project.scripts]

View File

@@ -1,3 +1,3 @@
"""CrewAI development tools.""" """CrewAI development tools."""
__version__ = "1.7.0" __version__ = "1.7.1"

View File

@@ -323,13 +323,17 @@ def cli() -> None:
"--dry-run", is_flag=True, help="Show what would be done without making changes" "--dry-run", is_flag=True, help="Show what would be done without making changes"
) )
@click.option("--no-push", is_flag=True, help="Don't push changes to remote") @click.option("--no-push", is_flag=True, help="Don't push changes to remote")
def bump(version: str, dry_run: bool, no_push: bool) -> None: @click.option(
"--no-commit", is_flag=True, help="Don't commit changes (just update files)"
)
def bump(version: str, dry_run: bool, no_push: bool, no_commit: bool) -> None:
"""Bump version across all packages in lib/. """Bump version across all packages in lib/.
Args: Args:
version: New version to set (e.g., 1.0.0, 1.0.0a1). version: New version to set (e.g., 1.0.0, 1.0.0a1).
dry_run: Show what would be done without making changes. dry_run: Show what would be done without making changes.
no_push: Don't push changes to remote. no_push: Don't push changes to remote.
no_commit: Don't commit changes (just update files).
""" """
try: try:
# Check prerequisites # Check prerequisites
@@ -397,51 +401,60 @@ def bump(version: str, dry_run: bool, no_push: bool) -> None:
else: else:
console.print("[dim][DRY RUN][/dim] Would run: uv sync") console.print("[dim][DRY RUN][/dim] Would run: uv sync")
branch_name = f"feat/bump-version-{version}" if no_commit:
if not dry_run: console.print("\nSkipping git operations (--no-commit flag set)")
console.print(f"\nCreating branch {branch_name}...")
run_command(["git", "checkout", "-b", branch_name])
console.print("[green]✓[/green] Branch created")
console.print("\nCommitting changes...")
run_command(["git", "add", "."])
run_command(["git", "commit", "-m", f"feat: bump versions to {version}"])
console.print("[green]✓[/green] Changes committed")
if not no_push:
console.print("\nPushing branch...")
run_command(["git", "push", "-u", "origin", branch_name])
console.print("[green]✓[/green] Branch pushed")
else: else:
console.print(f"[dim][DRY RUN][/dim] Would create branch: {branch_name}") branch_name = f"feat/bump-version-{version}"
console.print( if not dry_run:
f"[dim][DRY RUN][/dim] Would commit: feat: bump versions to {version}" console.print(f"\nCreating branch {branch_name}...")
) run_command(["git", "checkout", "-b", branch_name])
if not no_push: console.print("[green]✓[/green] Branch created")
console.print(f"[dim][DRY RUN][/dim] Would push branch: {branch_name}")
if not dry_run and not no_push: console.print("\nCommitting changes...")
console.print("\nCreating pull request...") run_command(["git", "add", "."])
run_command( run_command(
[ ["git", "commit", "-m", f"feat: bump versions to {version}"]
"gh", )
"pr", console.print("[green]✓[/green] Changes committed")
"create",
"--base", if not no_push:
"main", console.print("\nPushing branch...")
"--title", run_command(["git", "push", "-u", "origin", branch_name])
f"feat: bump versions to {version}", console.print("[green]✓[/green] Branch pushed")
"--body", else:
"", console.print(
] f"[dim][DRY RUN][/dim] Would create branch: {branch_name}"
) )
console.print("[green]✓[/green] Pull request created") console.print(
elif dry_run: f"[dim][DRY RUN][/dim] Would commit: feat: bump versions to {version}"
console.print( )
f"[dim][DRY RUN][/dim] Would create PR: feat: bump versions to {version}" if not no_push:
) console.print(
else: f"[dim][DRY RUN][/dim] Would push branch: {branch_name}"
console.print("\nSkipping PR creation (--no-push flag set)") )
if not dry_run and not no_push:
console.print("\nCreating pull request...")
run_command(
[
"gh",
"pr",
"create",
"--base",
"main",
"--title",
f"feat: bump versions to {version}",
"--body",
"",
]
)
console.print("[green]✓[/green] Pull request created")
elif dry_run:
console.print(
f"[dim][DRY RUN][/dim] Would create PR: feat: bump versions to {version}"
)
else:
console.print("\nSkipping PR creation (--no-push flag set)")
console.print(f"\n[green]✓[/green] Version bump to {version} complete!") console.print(f"\n[green]✓[/green] Version bump to {version} complete!")