You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python Azure Function apps on runtime version 4.1038 on Linux Consumption that are pinned to Flask<=2.2.2 may see ImportError: cannot import name 'url_quote' from 'werkzeug.urls' during function indexing and function execution.
Root Cause
To address a security vulnerability, the 4.1038 Python worker image now brings in Werkzeug~=3.1.3. For consumption, the Werkzeug version brought in the image is loaded first and causes a conflict with older Flask versions.
Mitigations
Add PYTHON_ISOLATE_WORKER_DEPENDENCIES = 1 as an App Setting