Skip to content

fix(presets): pin venv to Python >=3.12 in setup.sh#144

Merged
malhotra5 merged 1 commit into
OpenHands:mainfrom
DevinVinson:dv/setup-venv-python-312
May 28, 2026
Merged

fix(presets): pin venv to Python >=3.12 in setup.sh#144
malhotra5 merged 1 commit into
OpenHands:mainfrom
DevinVinson:dv/setup-venv-python-312

Conversation

@DevinVinson
Copy link
Copy Markdown
Member

uv venv with no --python defaults to the first system interpreter, which on macOS is CommandLineTools Python 3.9. That fails the subsequent openhands-sdk install since the SDK requires Python >=3.12.

This fixes OpenHands/agent-canvas#827 for me when I load locally:

OH_AUTOMATION_REPO=https://github.com/DevinVinson/automation \
OH_AUTOMATION_GIT_REF=dv/setup-venv-python-312 \
npm run dev

uv venv with no --python defaults to the first system interpreter, which
on macOS is CommandLineTools Python 3.9. That fails the subsequent
openhands-sdk install since the SDK requires Python >=3.12.
Copy link
Copy Markdown
Member

@malhotra5 malhotra5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@malhotra5 malhotra5 merged commit 3b05a4e into OpenHands:main May 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Automation fails with Python version requirement unmet

2 participants