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