Skip to content

fix: restrict Python version to <3.14 due to jsonschema-rs/PyO3 incompatibility - #119

Merged
rng1995 merged 1 commit into
NVIDIA:mainfrom
tcconnally:fix/python-version-constraint
Jun 22, 2026
Merged

fix: restrict Python version to <3.14 due to jsonschema-rs/PyO3 incompatibility#119
rng1995 merged 1 commit into
NVIDIA:mainfrom
tcconnally:fix/python-version-constraint

Conversation

@tcconnally

Copy link
Copy Markdown
Contributor

Summary

Fixes #111: Python 3.14 incompatibility due to outdated PyO3 in jsonschema-rs.

Problem

When installing or running tests on Python 3.14, jsonschema-rs (v0.29.1) fails to compile because the bundled PyO3 (v0.23.4) does not support Python 3.14. SkillSpector's pyproject.toml declares requires-python = ">=3.12,<3.15" which includes Python 3.14.

Fix

  1. Restrict requires-python from <3.15 to <3.14
  2. Remove the Programming Language :: Python :: 3.14 classifier

Testing

All 621 unit tests pass (same as main).

…patibility

jsonschema-rs (v0.29.1) fails to build on Python 3.14 because the
bundled PyO3 (v0.23.4) does not support Python 3.14. Adjust the
requires-python range from <3.15 to <3.14 and remove the 3.14
classifier to accurately reflect supported versions.

Fixes NVIDIA#111

Signed-off-by: Perseus Computing <51974392+tcconnally@users.noreply.github.com>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

APPROVE — sensible, minimal compatibility fix. Capping requires-python at <3.14 and dropping the matching classifier is the right call given the jsonschema-rs/PyO3 limitation, and the classifier list stays consistent with the supported range.

Minor / optional (non-blocking): if this is intended to ship as a release, a patch version bump would help the tightened constraint reach resolvers. Re-widen once the native dependency supports 3.14.

@rng1995
rng1995 merged commit afb9449 into NVIDIA:main Jun 22, 2026
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] Build Failure: Python 3.14 incompatibility due to outdated pyo3 in jsonschema-rs

2 participants