Closed hiromu closed 4 years ago
Thank you for your reply. I updated this pull request to pass all the tests.
For the mypy issue, I simply skipped the line in the same manner as people discussing in the mypy repository: https://github.com/python/mypy/issues/1153
After hours of investigation, I found there are several issues in pip and pyyaml which we cannot easily address:
--global-option
and python_version
simultaneously.Thus, I decided to explicitly skip building pyyaml in the case of Python 2.7. I believe this is a reasonable way under these restrictions.
Thanks for your contribution @hiromu!
When a Swagger definition is provided in YAML, the current implementation uses a Python loader for parsing. However, it can be accelerated by using a native loader when LibYAML is available.