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

Fix broken main #23940

Merged
merged 1 commit into from
May 26, 2022
Merged

Fix broken main #23940

merged 1 commit into from
May 26, 2022

Commits on May 26, 2022

  1. Fix broken main

    main breaks with
    `Traceback:
      /usr/local/lib/python3.7/importlib/__init__.py:127: in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
      tests/providers/amazon/aws/hooks/test_cloud_formation.py:31: in <module>
          class TestCloudFormationHook(unittest.TestCase):
      tests/providers/amazon/aws/hooks/test_cloud_formation.py:67: in TestCloudFormationHook
          @mock_cloudformation
      /usr/local/lib/python3.7/site-packages/moto/__init__.py:30: in f
          module = importlib.import_module(module_name, "moto")
      /usr/local/lib/python3.7/importlib/__init__.py:127: in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
      /usr/local/lib/python3.7/site-packages/moto/cloudformation/__init__.py:1: in <module>
          from .models import cloudformation_backends
      /usr/local/lib/python3.7/site-packages/moto/cloudformation/models.py:18: in <module>
          from .parsing import ResourceMap, OutputMap
      /usr/local/lib/python3.7/site-packages/moto/cloudformation/parsing.py:17: in <module>
          from moto.apigateway import models  # noqa  # pylint: disable=all
      /usr/local/lib/python3.7/site-packages/moto/apigateway/__init__.py:1: in <module>
          from .models import apigateway_backends
      /usr/local/lib/python3.7/site-packages/moto/apigateway/models.py:9: in <module>
          from openapi_spec_validator import validate_spec
      E   ModuleNotFoundError: No module named 'openapi_spec_validator'
      `
      Fix is already in placed in moto getmoto/moto#5165 but version 3.1.11 wasn't released yet
    eladkal committed May 26, 2022
    Configuration menu
    Copy the full SHA
    4b4ef9a View commit details
    Browse the repository at this point in the history