diff --git a/frappe/website/router.py b/frappe/website/router.py index 34c3de05f3..35cca715d1 100644 --- a/frappe/website/router.py +++ b/frappe/website/router.py @@ -5,7 +5,8 @@ import io import os import re -from werkzeug.routing import Map, NotFound, Rule +from werkzeug.exceptions import NotFound +from werkzeug.routing import Map, Rule import frappe from frappe.website.utils import extract_title, get_frontmatter diff --git a/pyproject.toml b/pyproject.toml index 6d763051f7..1bebdb5bf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ dependencies = [ "PyYAML~=5.4.1", "RestrictedPython~=5.1", "WeasyPrint==52.5", - "Werkzeug~=2.1.2", + "Werkzeug~=2.2.2", "Whoosh~=2.7.4", "beautifulsoup4~=4.9.3", "bleach-allowlist~=1.0.3",