Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

fix: bust uv cache for freshly published packages in enterprise release

Greyson LaLonde10fc3796bbea
diff --git a/lib/devtools/src/crewai_devtools/cli.py b/lib/devtools/src/crewai_devtools/cli.py
index 6342ba9ec..c72070de1 100644
--- a/lib/devtools/src/crewai_devtools/cli.py
+++ b/lib/devtools/src/crewai_devtools/cli.py
@@ -1159,7 +1159,19 @@ def _release_enterprise(version: str, is_prerelease: bool, dry_run: bool) -> Non
_wait_for_pypi("crewai", version)
console.print("\nSyncing workspace...")
- run_command(["uv", "sync"], cwd=repo_dir)
+ run_command(
+ [
+ "uv",
+ "sync",
+ "--refresh-package",
+ "crewai",
+ "--refresh-package",
+ "crewai-tools",
+ "--refresh-package",
+ "crewai-files",
+ ],
+ cwd=repo_dir,
+ )
console.print("[green]✓[/green] Workspace synced")
# --- branch, commit, push, PR ---