lingthio / Flask-User

Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
http://flask-user.readthedocs.io/
MIT License
1.06k stars 292 forks source link

Regression on 0.6.14 version: pip3 install fails #185

Closed NinjaKitou closed 7 years ago

NinjaKitou commented 7 years ago

Hello,

I think there is a regression in the setup.py file, introduced in the 0.6.14 release. From this release, the setup.py is importing the flaskuser module, invoking the __init_\.py.

The problem lies when starting with a fresh installation, typically when building a docker image, and using pip to install the packages.

it fails with the following error:

Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-z9z019ri/flask-user/setup.py", line 5, in from flask_user import version as flask_user_version File "/tmp/pip-build-z9z019ri/flask-user/flask_user/init.py", line 7, in from passlib.context import CryptContext ImportError: No module named 'passlib'

Indeed, at this time in the build, the passlib is not yet installed. Even when trying to install the passlib, it fails with all the dependencies the module have (second one being flask).

Am I doing something wrong ?

lingthio commented 7 years ago

Hi @NinjaKitou . The v0.6.19 release has addressed this problem. Ling

NinjaKitou commented 7 years ago

Ah yes sorry about that, didn't see the #183, thanks a lot!

Bhavatu commented 7 years ago

Where can this v0.6.19 be found?

lingthio commented 7 years ago

OMG. I must have been in an overwhelmed place. I never released the v0.9.16 build to PyPi. This has been fixed.