Please take a look at the last comment in https://github.com/Julian/jsonschema/issues/487#issuecomment-439627918; the import statements should be reversed to prevent the Deprecation Warning. Thanks.