twintechlabs / flaskdash

Flask starter app featuring CoreUI and the FlaskUser module.
Other
113 stars 29 forks source link

Requirements update #27

Open cabusar opened 11 months ago

cabusar commented 11 months ago

Hi,

I found some problems with SQLAlchemy:

[AttributeError: module 'sqlalchemy' has no attribute '__all__']

I solved this problem by updating versions in requirements.txt as below:

# This file is used by pip to install required python packages
# Usage: pip install -r requirements.txt

# Flask Framework
Flask==2.2

# Flask Packages
Flask-Login==0.6.3
Flask-Migrate==2.0.2
Flask-Script==2.0.5
Flask-SQLAlchemy==3.0.2
Flask-BabelEx
Flask-User==1.0.2.2
Flask-WTF==1.0.0
email_validator
Werkzeug==2.2.0
flask-session

# Automated tests
pytest==3.0.5
pytest-cov==2.4.0

# Development tools
# Fabric3==1.13.1.post1
# tox==2.7.0

# Run
gunicorn

It did not seems to create any problems (for now).

Great work. :)

verusus commented 2 weeks ago

I tried your updated requirements.txt but still got this:

AttributeError: module 'bcrypt' has no attribute 'about'

so to pass it, I forced bcrypt==4.0.1 as well in the requirements

PS: I used python 3.8