npx skills add ...
npx skills add openshift/lightspeed-service --skill deps-update
npx skills add openshift/lightspeed-service --skill deps-update
Update Python dependencies to latest versions using uv, regenerate lock and requirements.txt, then verify linting and tests pass. Fix breakage from API changes in bumped packages. Use when the user says "deps update", "bump dependencies", or "update deps".
Before changing anything:
uv lock --check to confirm the lock file is
currently consistentuv run python --version to record the Python versionIf a specific package was requested, bump only that package:
Otherwise bump everything:
Capture the output of uv lock --upgrade — it lists all
version changes and is needed for the commit message and
report.
After running uv lock --upgrade, check the output for
warnings. If a warning indicates a missing extra or
incompatible constraint, investigate whether it affects
this project. Note any benign warnings in the final report.
Then regenerate the pinned requirements file:
This runs uv export under the hood and produces a
requirements.txt with hashes for production packages.
Run the full verification suite:
If verification passes cleanly, proceed to Step 4.
If verification fails:
make format && make verifyRun the unit test suite:
If tests pass, proceed to Step 5.
If tests fail:
pyproject.toml and re-run uv lock && uv syncmake test-unitRun the integration test suite:
Same triage approach as Step 4 if failures occur.
Check which files changed beyond the dependency files:
Always present a summary to the user before committing:
If only pyproject.toml, uv.lock, and requirements.txt
changed — commit and raise a PR automatically without
asking:
Then follow the raise-pr skill to open the PR.
If source or test files were also modified (API change
fixes from Steps 3–5) — wait for user acknowledgment
before committing. Then commit all changes and follow the
raise-pr skill.
make requirements.txt, never hand-edit.