manchenkoff / openapi3-parser

OpenAPI 3 parser to use a specification inside of the code in your projects
https://pypi.org/project/openapi3-parser/
MIT License
61 stars 33 forks source link

Bump version of openapi-spec-validator to 0.6.0 #71

Closed ajatkj closed 11 months ago

ajatkj commented 11 months ago

Bumped openapi-spec-validator version to 0.6.0 from 0.5.5. Refer bug #70 for more information.

manchenkoff commented 11 months ago

@ajatkj thanks for opening a PR. There is a small issue with the build, I assume some dependencies are not compatible or there is something missing

Run pipenv run mypy ./src
Traceback (most recent call last):
  File "/home/runner/.local/share/virtualenvs/openapi3-parser-qgC4VcGR/bin/mypy", line 5, in <module>
    from mypy.__main__ import console_entry
  File "/home/runner/.local/share/virtualenvs/openapi3-parser-qgC4VcGR/lib/python3.9/site-packages/mypy/__main__.py", line 9, in <module>
    from mypy.main import main, process_options
  File "mypy/main.py", line 13, in <module>
  File "mypy/build.py", line [7](https://github.com/manchenkoff/openapi3-parser/actions/runs/6314633120/job/17157813050?pr=71#step:5:8)3, in <module>
  File "mypy/config_parser.py", line 16, in <module>
ModuleNotFoundError: No module named 'tomli'

Could you please check if the mypy validation still works for you?

ajatkj commented 11 months ago

@manchenkoff let me check

ajatkj commented 11 months ago

@manchenkoff I had accidentally created environment using python 3.11. mypy doesn't use tomli as dependency for python 3.11 and hence it was removed from Pipfile.lock. Used python3.10 now and hopefully it should be fine now.

manchenkoff commented 11 months ago

The build passed, looks good! Thanks @ajatkj