Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Werkzeug has been updated and the 3.0.0 version doesn't work properly with flask 2.2.2 and won't compile. Specifically stating the Werkzeug version in requirements.txt fixed it.
Without Werkzeug==2.2.2 in requirements.txt
Attaching to api-1, client-1
api-1 | Traceback (most recent call last):
api-1 | File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main
api-1 | mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
api-1 | File "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details
api-1 | return _get_module_details(pkg_main_name, error)
api-1 | File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details
api-1 | import(pkg_name)
api-1 | File "/usr/local/lib/python3.9/site-packages/flask/init.py", line 5, in
api-1 | from .app import Flask as Flask
api-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 30, in
api-1 | from werkzeug.urls import url_quote
api-1 | ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.9/site-packages/werkzeug/urls.py)
With Werkzeug==2.2.2, the problem is fixed.