flask-uploads icon indicating copy to clipboard operation
flask-uploads copied to clipboard

Version conflict with, needs updating in python repositories.

Open uri-gh opened this issue 5 years ago • 3 comments

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

uri-gh avatar Sep 21 '20 14:09 uri-gh

Please see this related issue: https://github.com/maxcountryman/flask-uploads/issues/39

maxcountryman avatar Sep 21 '20 14:09 maxcountryman

Note, that should likely be:

-e git://github.com/maxcountryman/flask-uploads.git#egg=Flask-Uploads

Note the difference in the #egg value.

davidkhess avatar Oct 19 '20 18:10 davidkhess

Huh, pip freeze emitted it like this:

-e git://github.com/maxcountryman/flask-uploads.git#egg=Flask_Uploads

davidkhess avatar Oct 19 '20 18:10 davidkhess