mjhea0 / flask-redis-queue

Example of how to handle background processes with Flask, Redis Queue, and Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project doesn't run with the specified version of flask in requirements file

sattamjh opened this issue · comments

commented

When you try to build the docker image using the provided docker-compose configuration file, the build will fail and exit with an error clearly caused by incompatibility with werkzeug package as the trace show:
ImportError: cannot import name 'url_quote' from 'werkzeug.urls'.

I've managed to fix it by just upgrading flask version to Flask==2.3.3 which is the latest version in 2.x.x series.