name: dependency-updater description: Analyze and update Python dependencies in pyproject.toml, checking for compatibility and security vulnerabilities. Use when: updating dependencies, checking security issues, dependency analysis, version pinning, pip-audit, outdated packages.
Dependency Updater
Manage Python dependencies systematically.
Analysis Commands
# List installed packages
pip list
# Check for outdated
pip list --outdated
# Security check
pip-audit
# Dependency tree
pipdeptree
Update Priority
- Critical Security Fixes - Update immediately
- Bug Fixes - Next patch release
- New Features - Evaluate need
- Major Versions - Plan migration
Version Pinning
[project]
dependencies = [
# Core: Pin to minor version
"PySide6>=6.6.0,<6.7.0",
# Infrastructure: Pin to patch
"asyncpg>=0.29.0,<0.30.0",
# Utilities: Allow minor updates
"loguru>=0.7.2",
]
Core Framework
PySide6- Qt GUI frameworkNodeGraphQt- Node graph visualizationPlaywright- Browser automationqasync- Qt + asyncio bridge
Update Workflow
- Research updates (changelogs, breaking changes)
- Update
pyproject.toml - Test in clean environment
- Run full test suite
- Update CHANGELOG.md
Special Cases
Playwright Updates
playwright install chromium
pytest tests/nodes/browser/ -v
Database Drivers
pytest tests/infrastructure/resources/test_database_manager.py -v