Skip to content

Pin openapi-spec-validator to versions < 0.5.0#43

Merged
manchenkoff merged 2 commits intomanchenkoff:masterfrom
sergei-maertens:issue/41-pin-openapi-spec-validator
Sep 5, 2022
Merged

Pin openapi-spec-validator to versions < 0.5.0#43
manchenkoff merged 2 commits intomanchenkoff:masterfrom
sergei-maertens:issue/41-pin-openapi-spec-validator

Conversation

@sergei-maertens
Copy link
Contributor

Fixes #41

Note - this is the first time I'm using pipenv, so I just set up the project with pipenv install --dev which functionaly works, but caused the lockfile to be updated. That seems as correct behaviour to me, but depending on which exact minor version of Python you're using, this may lead to ever-changing lock files.

I'm also not sure if the package dependencies should be specified in the Pipfile if they're already present in setup.py - as pip install -e . already takes care of pulling in the dependencies for local development.

Version 0.5.0 removed some convenience imports used by openapi3-parser,
breaking the parsing functionality.

This pin can be removed once the package structure is refactored and
the missing imports are addressed.
While running 'pipenv install --dev', this updated the lockfile.
@manchenkoff
Copy link
Owner

Thanks for PR, dependencies in Pipfile are placed for development purposes, when setup.py is used for installing as a package

@manchenkoff manchenkoff merged commit a68e9f6 into manchenkoff:master Sep 5, 2022
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

Successfully merging this pull request may close these issues.

[BUG] Library is not compatible with openapi_spec_validator >= 0.5.0

2 participants