Skip to content

Pin jsonschema>=4.18 in requirements.txt#1

Open
camlloyd wants to merge 1 commit into
ClawBio:mainfrom
camlloyd:fix/jsonschema-version-pin
Open

Pin jsonschema>=4.18 in requirements.txt#1
camlloyd wants to merge 1 commit into
ClawBio:mainfrom
camlloyd:fix/jsonschema-version-pin

Conversation

@camlloyd

Copy link
Copy Markdown

Summary

  • validate_evidence relies on Draft202012Validator (added in jsonschema 4.18.0). Without a pin, an older jsonschema installs and the fail-closed validator catches the resulting ImportError as a schema error, causing 15 test failures across test_evidence_schema, test_score_acmg, and test_gradient_runner.

Test plan

  • pip install -r requirements.txt on a clean env and confirm jsonschema>=4.18 is installed
  • Run test_evidence_schema, test_score_acmg, test_gradient_runner and confirm they pass

validate_evidence relies on Draft202012Validator (added in jsonschema
4.18.0). Without a pin, an older jsonschema installs the fail-closed
validator catches the resulting ImportError as a schema error,
causing 15 test failures across test_evidence_schema,
test_score_acmg, and test_gradient_runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant