Skip to content

Commit 415f6d9

Browse files
authored
Merge pull request #160 from jg-rp/py313
Test against Python version 3.13
2 parents 7c2806d + e6bfca8 commit 415f6d9

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.github/workflows/tests.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, windows-latest, macos-latest]
12-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
12+
python-version: ["3.7.17", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1313
exclude:
1414
- os: macos-latest
15-
python-version: "3.7"
15+
python-version: "3.7.17"
1616
- os: windows-latest
17-
python-version: "3.7"
17+
python-version: "3.7.17"
18+
- os: macos-latest
19+
python-version: "3.8"
20+
- os: windows-latest
21+
python-version: "3.8"
1822
steps:
1923
- uses: actions/checkout@v4
2024
- name: Set up Python ${{ matrix.python-version }}

liquid/builtin/filters/string.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Filter functions that operate on strings."""
2+
23
from __future__ import annotations
34

45
import base64

liquid/builtin/loaders/base_loader.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Base template loader."""
2+
23
from __future__ import annotations
34

45
from abc import ABC
@@ -48,7 +49,7 @@ class BaseLoader(ABC): # noqa: B024
4849
4950
Attributes:
5051
caching_loader (bool): Indicates if this loader implements its own cache.
51-
Setting this sto `True` will cause the `Environment` to disable its cache
52+
Setting this to `True` will cause the `Environment` to disable its cache
5253
when initialized with a caching loader.
5354
"""
5455

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ classifiers = [
1717
"Programming Language :: Python :: 3.10",
1818
"Programming Language :: Python :: 3.11",
1919
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2021
]
2122
dependencies = [
2223
"python-dateutil>=2.8.1",
@@ -31,7 +32,7 @@ readme = "README.md"
3132
requires-python = ">=3.7"
3233

3334
[project.optional-dependencies]
34-
autoescape = ["MarkupSafe>=2.0.0"]
35+
autoescape = ["MarkupSafe>=2,<3"]
3536

3637
[project.urls]
3738
"Change Log" = "https://github.com/jg-rp/liquid/blob/main/CHANGES.md"
@@ -63,7 +64,7 @@ dependencies = [
6364
"ruff",
6465
"mock",
6566
"types-python-dateutil",
66-
"MarkupSafe",
67+
"MarkupSafe>=2, < 3",
6768
]
6869

6970
[tool.hatch.envs.default.scripts]

0 commit comments

Comments
 (0)