flask-uploads
flask-uploads copied to clipboard
Version conflict with, needs updating in python repositories.
An issue which was fixed needs to be updated in the python repositories.
from werkzeug import secure_filename,FileStorage
changed to
from werkzeug.utils import secure_filename
from werkzeug.datastructures import FileStorage
Was already fixed in this repository, but not push to pip.
As a temporary solution i use -e git://github.com/maxcountryman/flask-uploads.git#egg=elasticutils in the requirements.txt file.
https://stackoverflow.com/questions/61628503/flask-uploads-importerror-cannot-import-name-secure-filename
Please see this related issue: https://github.com/maxcountryman/flask-uploads/issues/39
Note, that should likely be:
-e git://github.com/maxcountryman/flask-uploads.git#egg=Flask-Uploads
Note the difference in the #egg value.
Huh, pip freeze emitted it like this:
-e git://github.com/maxcountryman/flask-uploads.git#egg=Flask_Uploads