Диагностика окружения Python и зависимостей
devops
environment-triage is a Claude Code skill that diagnoses unexpected behavior from `uv sync` and `pip install` by identifying mismatches between the system Python interpreter and the one actually selected by uv or venv. The skill is not user-invocable directly; instead, it provides a structured set of diagnostic commands — `uv run python --version`, `cat .python-version`, `uv pip show <package>`, and import verification via `uv run python -c` — to establish the real execution context before any further debugging. When optional dependencies are skipped due to version markers like `python_version >= 3.12` while `.python-version` pins 3.11, the standard fix is to update the pin to 3.13, remove `.venv`, and rebuild with `uv venv && uv sync --all-extras`. The patterns come from real debug sessions where agentica import failures and skipped packages were traced back to the wrong interpreter being active.
- #python-environment
- #uv
- #pip
- #dependency-management
- #interpreter-version
- #troubleshooting