hysds / pele

REST API for HySDS Datasets
Apache License 2.0
0 stars 0 forks source link

hot-fix: Pin Werkzeug to 2.0.3 #23

Closed mcayanan closed 2 years ago

mcayanan commented 2 years ago

The current HySDS Core develop is failing cluster provisioning due to the following error:

module.common.aws_instance.mozart (remote-exec): [100.104.3.102] out: ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'

This is due to the Werkzeug 2.1.0 release, which removed safe_str_cmp: https://werkzeug.palletsprojects.com/en/2.1.x/changes/#version-2-1-0

which impacted the Flask-login module. A git issue has been filed to address this issue: https://github.com/maxcountryman/flask-login/issues/636

In case Flask-login is taking a bit to resolve, this PR will pin the Werkzeug dependency to 2.0.3 so that we can continue to use HySDS Core develop rather than waiting on these issues to get resolved.

Force Branch: https://nisar-pcm-ci.jpl.nasa.gov/job/force-branches/job/mkarim-force_branch-E2E-test/128/