Skip to content

Commit

Permalink
Restrict Markupsage to <3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed Oct 8, 2024
1 parent b5a09c6 commit 60b1cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions liquid/builtin/filters/string.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Filter functions that operate on strings."""

from __future__ import annotations

import base64
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ readme = "README.md"
requires-python = ">=3.7"

[project.optional-dependencies]
autoescape = ["MarkupSafe>=2.0.0"]
autoescape = ["MarkupSafe>=2,<3"]

[project.urls]
"Change Log" = "https://github.com/jg-rp/liquid/blob/main/CHANGES.md"
Expand Down Expand Up @@ -64,7 +64,7 @@ dependencies = [
"ruff",
"mock",
"types-python-dateutil",
"MarkupSafe",
"MarkupSafe>=2, < 3",
]

[tool.hatch.envs.default.scripts]
Expand Down

0 comments on commit 60b1cbf

Please sign in to comment.