Skip to content

chore(deps): relax libcst constraint for Python 3.14 support#167

Open
aivong-openhands wants to merge 2 commits intomainfrom
update-libcst-for-python-3.14
Open

chore(deps): relax libcst constraint for Python 3.14 support#167
aivong-openhands wants to merge 2 commits intomainfrom
update-libcst-for-python-3.14

Conversation

@aivong-openhands
Copy link
Collaborator

Summary

This PR relaxes the libcst dependency constraint to enable Python 3.14 support.

Changes

  • libcst: 1.5.0>=1.5.0,<2.0.0
  • version: 0.3.30.3.4

Why This Is Needed

LibCST 1.5.0 does not support Python 3.14. The current exact pin blocks OpenHands from upgrading to Python 3.14.

LibCST 1.8.6 added official Python 3.14 support (including free-threaded 3.14t via PR #1417).

Unblocks

Compatibility

LibCST 1.8.6 is fully backward compatible with 1.5.0 - the API is stable and the version range >=1.5.0,<2.0.0 is safe.

- Change libcst from exact pin (1.5.0) to range (>=1.5.0,<2.0.0)
- Bump version to 0.3.4

LibCST 1.5.0 does not support Python 3.14. LibCST 1.8.6 added Python 3.14
support (including free-threaded 3.14t). This change allows openhands-aci
to work with newer LibCST versions that support Python 3.14.

This unblocks OpenHands Python 3.14 upgrade:
OpenHands/OpenHands#12804

Co-authored-by: openhands <openhands@all-hands.dev>
@aivong-openhands aivong-openhands marked this pull request as ready for review March 21, 2026 03:27
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.

2 participants