Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

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

Merged
raymyers merged 2 commits into
mainfrom
update-libcst-for-python-3.14
Mar 24, 2026
Merged

chore(deps): relax libcst constraint for Python 3.14 support#167
raymyers merged 2 commits into
mainfrom
update-libcst-for-python-3.14

Conversation

@aivong-openhands
Copy link
Copy Markdown
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
@raymyers raymyers merged commit a8d8d23 into main Mar 24, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants