Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Commit 453edc7

Browse files
committed
venv: Add Flask subdependency upper bound limit.
Currently Flask v1 depends on Jinja v2, which doesn't have an upper bound limit for MarkupSafe, and the latest release of MarkupSafe v2.1 is not compatible with Jinja v2. So we need to add the upperbound here. pallets/jinja#1585
1 parent 9a5fd57 commit 453edc7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mu/wheels/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ class WheelsBuildError(WheelsError):
3838
#
3939
mode_packages = [
4040
("pgzero", "pgzero>=1.2.1"),
41+
# Flask v1 depends on Jinja v2, which doesn't have an upper bound limit in
42+
# MarkupSafe, and v2.1 is not compatible with Jinja v2
43+
("markupsafe", "markupsafe<2.1"),
4144
("flask", "flask==1.1.4"),
4245
# The version of ipykernel here should match to the version used by
4346
# qtconsole at the version specified in setup.py

0 commit comments

Comments
 (0)