Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update flask and wekzeug #88

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading