-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compatibility issues with jsonschema>=4 #364
Conversation
Codecov ReportBase: 74.28% // Head: 74.40% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #364 +/- ##
==========================================
+ Coverage 74.28% 74.40% +0.11%
==========================================
Files 73 73
Lines 3126 3125 -1
Branches 487 368 -119
==========================================
+ Hits 2322 2325 +3
+ Misses 737 735 -2
+ Partials 67 65 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Hello, I have added the changes needed to make the tests pass on all Python versions, I have also added tests for two public functions. I believe these functions don't have tests so when I modified them the pipeline failed. |
I don't believe I see anything else that needs doing, I'll remove the WIP tag so that others can give feedback more freely. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I do wonder if we should implement a test job that uses the minimum supported versions of stuff, like we do in Scrapy, to make sure we do not break backward compatibility with older jsonschema as we add support for newer ones.
Great :) If I'm not mistaken all that we need now is for someone with merge permission to accept this PR, correct? |
Let me implement this, then we can merge. |
Thanks! |
Oh, sorry! That's what you meant by testing job, I thought it was a job on a cloud or something like that. In any case, thanks everyone! :) |
I have managed to pass the tests after updating jsonschema. The only issue I have is that Python 3.6 is having dependency issues with jsonschema==4.
I'll try to make the changes compatible with both jsonschema4 and 3, so that Python3.6 is still compatible.