This skill helps you update Python dependencies with UV, scan for outdated and unused packages, and safely edit pyproject.toml while preserving Django LTS.
npx playbooks add skill letsrevel/revel-backend --skill updating-deps
A structured approach for updating Python dependencies in this UV-managed project.
pyproject.toml under [project] dependencies and [dependency-groups] dev>=5.2.x,<6.0)uv pip list --outdated
This shows all outdated packages. Focus on top-level dependencies listed in pyproject.toml.
For each suspicious dependency, search for actual usage:
# Check for imports
grep -r "from <package>|import <package>" src/
# Check if it's a transitive dependency
uv pip show <package> | grep -i "required-by"
These are pulled in automatically by other packages:
multidict - transitive from aiohttp/aiogrampygments - transitive from mkdocs-material, pytestMove types-* packages to [dependency-groups] dev, not production dependencies.
1.2.3 → 1.2.41.2.x → 1.3.x1.x → 2.x>=5.2.x,<6.0)"Framework :: Django :: 5.2"Edit pyproject.toml directly, then sync:
uv sync --dev
Run all checks to ensure nothing broke:
make check
This runs: format, lint, mypy, i18n-check
grep -r "import <pkg>" src/uv pip show <pkg> | grep Required-byuv sync --dev[project] dependencies[dependency-groups] devuv sync --dev# Allow patches within LTS
"django>=5.2.11,<6.0"
For reference, these were removed as unused/transitive:
django-extension - typo (django-extensions already present)django-money - unusedfreezegun in prod - duplicate (already in dev)multidict - transitive from aiohttpninja-schema - unusedpyopenssl - unusedpygments - transitive from dev depstypes-tqdm - moved to devpiexif - moved to dev (only used in tests)Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.