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
Deployments of all Flask services (Search, Location, Offers, Recommendations, Videos) are failing with the following error:
Traceback (most recent call last):
File "app.py", line 6, in <module>
from aws_xray_sdk.ext.flask.middleware import XRayMiddleware
File "/usr/local/lib/python3.8/site-packages/aws_xray_sdk/ext/flask/middleware.py", line 1, in <module>
import flask.templating
File "/usr/local/lib/python3.8/site-packages/flask/__init__.py", line 21, in <module>
from .app import Flask, Request, Response
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 25, in <module>
from . import cli, json
File "/usr/local/lib/python3.8/site-packages/flask/json/__init__.py", line 21, in <module>
from itsdangerous import json as _json
ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.8/site-packages/itsdangerous/__init__.py)
This is an occurrence of this Flask issue. The issue has been recognised by the Flask team.
Suggested fix:
Immediate: pin the following dependencies:
itsdangerous==1.1.0
markupsafe==1.1.1
Longer-term: upgrade Flask to a supported version, as 1.0.2 is no longer supported.
The text was updated successfully, but these errors were encountered:
Deployments of all Flask services (Search, Location, Offers, Recommendations, Videos) are failing with the following error:
This is an occurrence of this Flask issue. The issue has been recognised by the Flask team.
Suggested fix:
Immediate: pin the following dependencies:
Longer-term: upgrade Flask to a supported version, as 1.0.2 is no longer supported.
The text was updated successfully, but these errors were encountered: