From 4e55902a0510bfccf18125077b509f95cf68491b Mon Sep 17 00:00:00 2001 From: James Prior Date: Tue, 8 Oct 2024 09:42:48 +0100 Subject: [PATCH 1/2] Test against Python version 3.13 --- .github/workflows/tests.yaml | 1 + pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6020603..43f775a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,6 +9,7 @@ jobs: fail-fast: false matrix: include: + - { python: "3.13.0-rc.3", os: ubuntu-latest, env: py313-3 } - { python: "3.12", os: ubuntu-latest, env: py312-3 } - { python: "3.11", os: ubuntu-latest, env: py311-3 } - { python: "3.11", os: ubuntu-latest, env: py311-2 } diff --git a/pyproject.toml b/pyproject.toml index 635e736..178e4f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,8 +21,9 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] -dependencies = ["flask>=2.0", "MarkupSafe>=2.0.0", "python-liquid>=1.1.0"] +dependencies = ["flask>=2.0", "MarkupSafe>=2.0.0, <3", "python-liquid>=1.1.0"] [project.urls] "Change Log" = "https://github.com/jg-rp/flask-liquid/blob/main/CHANGES.md" @@ -63,7 +64,7 @@ lint = "ruff check ." typing = "mypy" [[tool.hatch.envs.test.matrix]] -python = ["38", "39", "310", "311", "312", "pypy38", "pypy39", "pypy310"] +python = ["38", "39", "310", "311", "312", "313", "pypy38", "pypy39", "pypy310"] flask = ["2", "3"] [tool.hatch.envs.test.overrides] From 1b1b3272673c5f9c677b235c25093297e5489e7b Mon Sep 17 00:00:00 2001 From: James Prior Date: Fri, 25 Oct 2024 07:57:15 +0100 Subject: [PATCH 2/2] Test against release version of Python 3.13 --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 43f775a..de49ebd 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: include: - - { python: "3.13.0-rc.3", os: ubuntu-latest, env: py313-3 } + - { python: "3.13", os: ubuntu-latest, env: py313-3 } - { python: "3.12", os: ubuntu-latest, env: py312-3 } - { python: "3.11", os: ubuntu-latest, env: py311-3 } - { python: "3.11", os: ubuntu-latest, env: py311-2 }