flaskdash icon indicating copy to clipboard operation
flaskdash copied to clipboard

Requirements update

Open cabusar opened this issue 2 years ago • 1 comments

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. :)

cabusar avatar Nov 16 '23 23:11 cabusar

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

verusus avatar Oct 19 '24 19:10 verusus