Problem:
All python versions previous to 3.8 are now end of life and no longer supported.
But, pip automatically installs the latest version of flask_restx on python 3.6 (or any version under 3.8), resulting in ModuleNotFoundError on importlib.metadata which is available starting with python 3.8.
Solution:
include python_requires option when setup for pip to resolve python dependency accordingly.
prevent installing the latest and unsupported flask_restx regardless of python version.
fixes #586
Problem: All python versions previous to 3.8 are now end of life and no longer supported. But, pip automatically installs the latest version of flask_restx on python 3.6 (or any version under 3.8), resulting in ModuleNotFoundError on importlib.metadata which is available starting with python 3.8.
Solution: include python_requires option when setup for pip to resolve python dependency accordingly. prevent installing the latest and unsupported flask_restx regardless of python version. fixes #586