wasabi222 / janitor

provider maintenance email parser
Other
52 stars 14 forks source link

New Install - error #32

Open dnyt84 opened 3 years ago

dnyt84 commented 3 years ago

Hello,

i just installed janitor on Centos 7 with Python 3.6.

the command "flask db init" would fail. It complaint about ma.ModelSchema in app/models.py

Doing a little research it appears that this command will be deprecated.

https://flask-marshmallow.readthedocs.io/en/latest/changelog.html

They suggest to change this to ma.SQLAlchemyAutoSchema. i modified my app/models.py and it worked.

Thank you,

Daniel

wasabi222 commented 3 years ago

Thanks for this, I really should have pinned versions for this. I opened up a PR that will pin this - I still need to pin marshmallow versions as well - and then I'll look to get this fixed with a more recent version of flask-marshmallow so it doesn't break.