Skip to content

Commit 463006b

Browse files
Fix Python selection in version-bump PR workflow (#2430)
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 5577f5e commit 463006b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/version-bump-prs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ jobs:
137137
git checkout -b "$BRANCH"
138138
fi
139139
140-
# Update versions using uv (--refresh to bypass cache and get fresh PyPI data)
141-
uv add --refresh "openhands-sdk==$VERSION" "openhands-tools==$VERSION"
140+
# OpenHands-CLI currently requires Python 3.12, so resolve with that interpreter.
141+
uv add --python 3.12 --refresh \
142+
"openhands-sdk==$VERSION" \
143+
"openhands-tools==$VERSION"
142144
143145
# Check if there are changes
144146
if git diff --quiet; then

0 commit comments

Comments
 (0)