You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On upgrading from version 1.1.3 to 1.3.0 my app generates the following error ModuleNotFoundError: No module named 'yaml'.
While researching it a bit further, I could trace it back to this commit. I also saw pyyaml is currently in the extras_require list in setup.py. I am wondering, is pyyaml now a required dependency with the introduction of the dict_to_yaml import in the aforementioned commit?
When downgrading to version 1.2.3, the app works without any problems.
File "/app/src/app/__init__.py", line 3, in <module>
from apiflask import APIFlask
File "/opt/venv/lib/python3.7/site-packages/apiflask/__init__.py", line 3, in <module>
from .app import APIFlask as APIFlask
File "/opt/venv/lib/python3.7/site-packages/apiflask/app.py", line 16, in <module>
from apispec.yaml_utils import dict_to_yaml
File "/opt/venv/lib/python3.7/site-packages/apispec/yaml_utils.py", line 5, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
The text was updated successfully, but these errors were encountered:
On upgrading from version 1.1.3 to 1.3.0 my app generates the following error
ModuleNotFoundError: No module named 'yaml'
.While researching it a bit further, I could trace it back to this commit. I also saw
pyyaml
is currently in theextras_require
list insetup.py
. I am wondering, ispyyaml
now a required dependency with the introduction of thedict_to_yaml
import in the aforementioned commit?When downgrading to version 1.2.3, the app works without any problems.
Environment:
python:3.7-slim-bullseye
)Stack trace:
The text was updated successfully, but these errors were encountered: