zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.31k stars 363 forks source link

Application doesn't run: AttributeError module 'werkzeug.urls' has no attribute 'url_unquote' #1276

Closed monkut closed 6 months ago

monkut commented 1 year ago

Context

Zappa project does not run displaying error:

AttributeError module 'werkzeug.urls' has no attribute 'url_unquote'

Related: https://stackoverflow.com/questions/77213053/importerror-cannot-import-name-url-quote-from-werkzeug-urls

Expected Behavior

No error

Possible Fix

It appears that the Werkzeug API has changed in version >=3.0.0. Support the change, or update zappa dependencies to "<3.0.0"

Steps to Reproduce

  1. Create a fresh package
    • The latest Werkzeug will be installed
  2. deploy and run on lambda
github-actions[bot] commented 7 months ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

github-actions[bot] commented 6 months ago

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.

sridhar562345 commented 6 days ago

@monkut any update on this?