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

SwaggerParser and jsonschema > 3.2.0 #67

Open
dimonji opened this issue Sep 30, 2021 · 1 comment
Open

SwaggerParser and jsonschema > 3.2.0 #67

dimonji opened this issue Sep 30, 2021 · 1 comment

Comments

@dimonji
Copy link

dimonji commented Sep 30, 2021

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'

@stefan6419846
Copy link

This is something which has been broken in swagger_spec_validator and seems to have been fixed in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants