Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Conversation

@cachho
Copy link
Contributor

@cachho cachho commented Oct 18, 2022

As I found out in issue #223, running docker-compose up as it is causes errors.
Turns out the reason for this is that no version numbers are specified for the pip requirements in both Dockerfiles.

Without a version number being specified, the latest versions of flask_dance and Flask-Caching are being used. These latest version install Flask > 2.0 as a dependency, as well as a incompatible version of Werkzeug. This results in from flask._compat import text_type and 'safe_str_cmp' from 'werkzeug.security' not being found (and most certainly more issues down the road) .

I fixed this by downgrading version by version and checking the dependencies until Flask 1.X was fine and the errors disappeared. At this point I also froze the version numbers of python-gitlab and sqlalchemy_utils.

@abhisuri97 abhisuri97 merged commit 74e9e3b into hack4impact:master Oct 21, 2022
@abhisuri97
Copy link
Contributor

Thank you so much for doing this! Merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants