Open twdbben opened 11 months ago
There may be a better way to do this, but I solved this issue by adding
RUN ${VENV}/bin/pip install flask==2.3.2
RUN ${VENV}/bin/pip install uwsgi==2.0.21
RUN ${VENV}/bin/pip install werkzeug==2.3.6
I'm seeing this issue as well and your solution worked.
I am trying to run datapusher-plus-docker, but after doing a successful
docker compose build
, when I dodocker compose up
, I get the following error.Based on this discussion I found, https://stackoverflow.com/questions/77240858/how-to-fix-cannot-import-name-request-ctx-stack-from-flask, it seems like it might be related to Flask having updated to version 3.
If I do a
docker exec -it da030eb77625 bash
into my running container and then. /usr/lib/ckan/dpplus_venv/bin/activate
and finally apip list
, I get the following list of installed packages in my datapusher-plus-docker container:Do you know if datapusher-plus-docker should work with Flask 3? If not, do you know how I can pin flask back to 2.3.2 within the datapusher-plus-docker config, and are there any other dependencies that need to be pinned?
Thanks for any advice you can provide on my situation.