Skip to content

Fix jsonschema validators error#2844

Merged
benjeffery merged 2 commits intotskit-dev:mainfrom
benjeffery:fix-jsonschema-2
Oct 4, 2023
Merged

Fix jsonschema validators error#2844
benjeffery merged 2 commits intotskit-dev:mainfrom
benjeffery:fix-jsonschema-2

Conversation

@benjeffery
Copy link
Member

@benjeffery benjeffery commented Oct 4, 2023

Fix #2840

A change in jsonschema 4.19.0 has moved the location of functions that we were using. This patch means both old and new versions will work.

@benjeffery
Copy link
Member Author

@Mergifyio rebase

@mergify
Copy link
Contributor

mergify bot commented Oct 4, 2023

rebase

✅ Branch has been successfully rebased

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #2844 (8b03221) into main (f80e085) will decrease coverage by 0.82%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2844      +/-   ##
==========================================
- Coverage   90.58%   89.76%   -0.82%     
==========================================
  Files          26       30       +4     
  Lines       21413    29898    +8485     
  Branches     4313     5803    +1490     
==========================================
+ Hits        19396    26838    +7442     
- Misses       1124     1753     +629     
- Partials      893     1307     +414     
Flag Coverage Δ
c-tests 86.15% <ø> (ø)
lwt-tests 80.78% <ø> (?)
python-c-tests 67.90% <100.00%> (?)
python-tests 98.95% <50.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/tskit/metadata.py 99.04% <100.00%> (+0.01%) ⬆️

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f80e085...8b03221. Read the comment docs.

@benjeffery benjeffery merged commit e594a66 into tskit-dev:main Oct 4, 2023
@benjeffery benjeffery deleted the fix-jsonschema-2 branch October 4, 2023 16:07
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.

Jsonschema >4.18.6 incompatibility

2 participants