Skip to content

Commit d62f285

Browse files
authored
fix: update openapi-spec-validator version
The Pipfile indicates that `openapi-spec-validator` version 0.7.1 is required, however the setup.py file specified a dependency of exactly 0.6.0. When pulling this project down via pip, this would cause the 0.6.0 version to be pulled and then the openapi3 parse would error because of a missing `validator` function that was introduced in the later version of the `openapi-spec-validator`. The workaround for this is to manually install `openapi-spec-validator` using `pip install openapi-spec-validator==0.7.1 --no-deps`. This fix should allow the correct version to be pulled on future releases of the `openapi3-parser` library.
1 parent f7196b5 commit d62f285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
],
3030
install_requires=[
3131
"prance>=0.20.2",
32-
"openapi-spec-validator==0.6.0",
32+
"openapi-spec-validator>=0.7.1",
3333
],
3434
)

0 commit comments

Comments
 (0)