Support Python 3.14#210
Open
caius72 wants to merge 1 commit into
Open
Conversation
Raise the supported Python ceiling to include 3.14 and verify the full dependency set installs and the test suite passes on CPython 3.14.6. The blocker was jsonschema-rs 0.29.1 (pinned transitively via langgraph-cli 0.4.14 -> langgraph-api 0.7.65), whose PyO3 0.23 bindings predate 3.14 and cannot build from source. Upgrading the langgraph stack (langgraph-cli 0.4.30, langgraph-api 0.10.0, langgraph 1.2.6) pulls jsonschema-rs 0.44.1, which ships abi3/cp314 wheels. - pyproject: requires-python <3.14 -> <3.15; add 3.14 classifier - ci: add 3.14 to the test matrix - uv.lock: full re-resolve for the langgraph stack - docs/PI_EXTENSION: update stated version range Also suppress a LangChainPendingDeprecationWarning emitted on import: langgraph deserializes with langchain's default allowed_objects, and langchain_core's import re-enables that warning via surface_langchain_deprecation_warnings(), so import langchain_core first, then prepend our ignore filter so it wins. Signed-off-by: caius72 <tuschner@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Raises the supported Python ceiling to include 3.14. Verified the full dependency set installs and the test suite passes on CPython 3.14.6 (989 passed, 12 skipped, 6 xfailed).
The blocker was
jsonschema-rs0.29.1 (pinned transitively vialanggraph-cli0.4.14 →langgraph-api0.7.65), whose PyO3 0.23 bindings predate 3.14 and cannot build from source. Upgrading the langgraph stack (langgraph-cli0.4.30,langgraph-api0.10.0,langgraph1.2.6) pullsjsonschema-rs0.44.1, which ships abi3/cp314 wheels.Changes
pyproject.toml:requires-python<3.14→<3.15; add3.14classifier.github/workflows/ci.yml: add3.14to the test matrixuv.lock: full re-resolve for the langgraph stack (large diff — the whole langgraph stack moved)docs/PI_EXTENSION.md: update stated version rangesrc/skillspector/__init__.py: suppress aLangChainPendingDeprecationWarningemitted on import. langgraph deserializes with langchain's defaultallowed_objects, andlangchain_core's import re-enables that warning viasurface_langchain_deprecation_warnings(), so we importlangchain_corefirst, then prepend our ignore filter so it wins.Test plan
uv sync --all-extrasclean on a fresh 3.14.6 venvuv run pytest— 989 passed, 12 skipped, 6 xfaileduv run ruff check/ruff format --checkcleanskillspector --help/--versionwork; deprecation warning gone🤖 Generated with Claude Code