-
Notifications
You must be signed in to change notification settings - Fork 51
Version 0.24.0 Failure resolving $ref within schema #297
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
Comments
What is the usage which causes this? I haven't been able to reproduce, so I suspect there's more to this than meets the eye. I'd also be curious to hear what platform (Linux, macOS, Windows) and python version you're using, in case it's related. |
@sirosen issue was updated with more details |
Yes; just this morning I found that I needed to use an input that would cause traversal of one of the problematic # example-pcc.yaml
repos:
- repo: https://github.com/sirosen/nosuchrepo
rev: 100
hooks:
- id: spam
types: [text] then the following fails with the above error:
The key thing being that |
I've tracked it down to a use of
Using the wrong one leads to a failing parse, but the underlying cause is a little bit inscrutable because of
I've got the fix queued up and should be able to release it today. |
I was just able to circle back on this and push it out as v0.24.1. As always, just let me know if you see issues; and thanks for reporting this and providing all of the detail! |
@sirosen 0.24.1 works now flawlessly |
after upgrading from version 0.23.3 to version 0.24.0, jsonschema fails with
Failure resolving $ref within schema
, see belowthe execution is via pre-commit, here are more details:
The text was updated successfully, but these errors were encountered: