Skip to content
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

Bump the version of jsonschema #1556

Merged
merged 3 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/check-event-schema-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def check_example_file(examplepath, schemapath):

fileurl = "file://" + os.path.abspath(schemapath)
schema["id"] = fileurl
resolver = jsonschema.RefResolver(schemapath, schema, handlers={"file": load_file})
resolver = jsonschema.RefResolver(fileurl, schema, handlers={"file": load_file})

print ("Checking schema for: %r %r" % (examplepath, schemapath))
try:
Expand Down
5 changes: 2 additions & 3 deletions scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# no doubt older versions would be fine for many of these but these were
# current at the time of writing

# jsonschema 3.0.0 objects to the $refs in our schema file. TODO: figure out
# why.
jsonschema >= 2.6.0, < 3.0.0
# we need at least version 4.0.0 for support of JSON Schema Draft 2020-12.
jsonschema >= 4.0.0

PyYAML >= 3.12
requests >= 2.18.4
Expand Down
Loading