Skip to content

Commit

Permalink
Merge pull request #160 from jg-rp/py313
Browse files Browse the repository at this point in the history
Test against Python version 3.13
  • Loading branch information
jg-rp authored Oct 18, 2024
2 parents 7c2806d + e6bfca8 commit 415f6d9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7.17", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
- os: macos-latest
python-version: "3.7"
python-version: "3.7.17"
- os: windows-latest
python-version: "3.7"
python-version: "3.7.17"
- os: macos-latest
python-version: "3.8"
- os: windows-latest
python-version: "3.8"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
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
3 changes: 2 additions & 1 deletion liquid/builtin/loaders/base_loader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base template loader."""

from __future__ import annotations

from abc import ABC
Expand Down Expand Up @@ -48,7 +49,7 @@ class BaseLoader(ABC): # noqa: B024
Attributes:
caching_loader (bool): Indicates if this loader implements its own cache.
Setting this sto `True` will cause the `Environment` to disable its cache
Setting this to `True` will cause the `Environment` to disable its cache
when initialized with a caching loader.
"""

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"python-dateutil>=2.8.1",
Expand All @@ -31,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 @@ -63,7 +64,7 @@ dependencies = [
"ruff",
"mock",
"types-python-dateutil",
"MarkupSafe",
"MarkupSafe>=2, < 3",
]

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

0 comments on commit 415f6d9

Please sign in to comment.