-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Problem
The pr-review plugin fails when resolving dependencies because openhands-sdk depends on litellm>=1.80.10, but litellm has pre-release markers that uv doesn't resolve by default.
Error
× No solution found when resolving `--with` dependencies:
╰─▶ Because there are no versions of litellm and openhands-sdk<=1.3.0
depends on litellm>=1.77.7.dev9, we can conclude that
openhands-sdk<=1.3.0 cannot be used.
...
hint: Pre-releases are available for `openhands-sdk` in the requested
range (e.g., 1.0.0a6), but pre-releases weren't enabled (try:
`--prerelease=allow`)
hint: `litellm` was requested with a pre-release marker (e.g.,
litellm>=1.77.7.dev9), but pre-releases weren't enabled (try:
`--prerelease=allow`)
Location
plugins/pr-review/action.yml line ~100:
uv run --with openhands-sdk --with openhands-tools --with lmnr \
python ../extensions/plugins/pr-review/scripts/agent_script.pyProposed Fix
Add --prerelease=allow to the uv run command:
uv run --prerelease=allow --with openhands-sdk --with openhands-tools --with lmnr \
python ../extensions/plugins/pr-review/scripts/agent_script.pyReproduction
Any repository using the pr-review action will fail. Example:
https://github.com/jpshackelford/demorec/actions/runs/23491703065/job/68361406358
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels