Skip to content

Commit

Permalink
Merge pull request #88 from GSA/werkzeug
Browse files Browse the repository at this point in the history
update flask and wekzeug
  • Loading branch information
FuhuXia authored May 16, 2024
2 parents 2d73fff + dd4eef2 commit 242c9fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ckan/lib/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from flask import flash
from flask import get_flashed_messages as _flask_get_flashed_messages
from flask import redirect as _flask_redirect
from flask import _request_ctx_stack
from flask.globals import request_ctx
from flask import url_for as _flask_default_url_for
from werkzeug.routing import BuildError as FlaskRouteBuildError
from ckan.lib import i18n
Expand Down Expand Up @@ -308,7 +308,7 @@ def _get_auto_flask_context():
from ckan.config.middleware import _internal_test_request_context

# This is a normal web request, there is a request context present
if _request_ctx_stack.top:
if request_ctx:
return None

# We are outside a web request. A test web application was created
Expand Down
8 changes: 4 additions & 4 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ blinker==1.5
click==8.1.3
dominate==2.7.0
feedgen==0.9.0
Flask==2.0.3
Flask==3.0.2
Flask-Babel==1.0.0
Flask-Login==0.6.1
Flask-WTF==1.0.1
Flask-Login==0.6.3
Flask-WTF==1.2.1
flask-multistatic==1.0
greenlet==2.0.2
Jinja2==3.1.2
Expand All @@ -35,5 +35,5 @@ sqlparse==0.4.2
typing_extensions==4.3.0
tzlocal==4.2
webassets==2.0
Werkzeug[watchdog]==2.0.3
Werkzeug[watchdog]==3.0.3
zope.interface==5.4.0

0 comments on commit 242c9fd

Please sign in to comment.