serverless / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
11.45k stars 4.47k forks source link

fix: Pin `markupsafe` in `aws-python-flask-api` #693

Closed IPanfilov closed 2 years ago

IPanfilov commented 2 years ago

Issue: Current V3 version is not functioning due to change of Markupsafe module in WSGI. Execution of Lambda function exits with "errorMessage": "Unable to import app.app" Proposed fix: pin the older version of markupsafe in requirements.txt by adding: markupsafe==2.0.1

IPanfilov commented 2 years ago

@pgrzesik, done. It was indeed same problem

pgrzesik commented 2 years ago

Hey @IPanfilov - did you push the changes? I don't see changes for the other example (or Github is playing with me)

IPanfilov commented 2 years ago

Sorry, @pgrzesik, I didn't find a way to add another change to first pull request, so I opened a new one for second example