With new jsonschema I got this error
app-python_1 | from swagger_parser import SwaggerParser app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_parser/__init__.py", line 3, in <module> app-python_1 | from .swagger_parser import SwaggerParser # noqa: F401 app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_parser/swagger_parser.py", line 21, in <module> app-python_1 | from swagger_spec_validator.validator20 import validate_spec app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/__init__.py", line 8, in <module> app-python_1 | from swagger_spec_validator.util import validate_spec_url app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/util.py", line 9, in <module> app-python_1 | from swagger_spec_validator import validator12 app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/validator12.py", line 29, in <module> app-python_1 | from swagger_spec_validator.ref_validators import default_handlers app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/ref_validators.py", line 14, in <module> app-python_1 | from jsonschema.compat import iteritems app-python_1 | ModuleNotFoundError: No module named 'jsonschema.compat'
With new jsonschema I got this error
app-python_1 | from swagger_parser import SwaggerParser app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_parser/__init__.py", line 3, in <module> app-python_1 | from .swagger_parser import SwaggerParser # noqa: F401 app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_parser/swagger_parser.py", line 21, in <module> app-python_1 | from swagger_spec_validator.validator20 import validate_spec app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/__init__.py", line 8, in <module> app-python_1 | from swagger_spec_validator.util import validate_spec_url app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/util.py", line 9, in <module> app-python_1 | from swagger_spec_validator import validator12 app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/validator12.py", line 29, in <module> app-python_1 | from swagger_spec_validator.ref_validators import default_handlers app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_spec_validator/ref_validators.py", line 14, in <module> app-python_1 | from jsonschema.compat import iteritems app-python_1 | ModuleNotFoundError: No module named 'jsonschema.compat'