coding-kitties / flask-swagger-generator

A simple to use flask swagger generator working with the Flask web framework.
MIT License
6 stars 6 forks source link

Flask Version Pinned to 1.1.1 #8

Closed Oracking closed 2 years ago

Oracking commented 2 years ago

Problem

Currently, the Flask version in the requirements list is pinned to version 1.1.1. Consequently, when a user lists a different flask version in their own requirements.txt file it causes pip install to fail. This prevents users from using the package if they rely on some functionality of newer versions of Flask for their project.

Even if a user is comfortable with version 1.1.1, there are issues with getting this particular version of Flask to work with flask-swagger-ui, another package used to render the generated swagger yaml as a view.

Suggested Solution

Unpin the version of Flask and make it >= 1.1.1 as it does not seem the package strictly relies on that version of Flask

MDUYN commented 2 years ago

Opened a branch and will resolve it