Closed terencehonles closed 2 years ago
I have https://github.com/terencehonles/bravado-core/tree/fix-deprecation-warning-for-RefResolver.in_scope which fixes the deprecation warning, but when testing the change I noticed there was an error during resolving. I checked and this looks like it only affects Spec.from_dict
(I skipped all tests that go down that code path and the suite passed). It doesn't appear to be straightforward to find out what changed since I'm not familiar with this package or jsonschema but it looks like it's related to https://github.com/Julian/jsonschema/issues/782
The AppVeyor failure looks like it's possibly a Windows only issue? I cannot reproduce with platform linux2 -- Python 2.7.18, pytest-4.6.11, py-1.10.0, pluggy-0.13.1
jsonschema 4.0 deprecates
RefResolver.in_scope
and breaksRefResolver.resolve
forSpec.from_dict
.