From 6f2b8f28b25193824edfae874ab022d1a354d6d2 Mon Sep 17 00:00:00 2001 From: Mark Bird Date: Thu, 26 Feb 2026 12:48:36 +0000 Subject: [PATCH] Add Django 5.2 and 6.0 to test matrix, remove Python 3.8 and 3.9 --- .github/workflows/ci.yaml | 20 ++++++++++++-------- README.md | 2 +- requirements.txt | 8 ++++---- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d3bd9d0..2f27ad1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,21 +8,25 @@ jobs: strategy: matrix: - python: ["3.8", "3.9", "3.10", "3.11"] - django: ["3.2", "4.0", "4.1", "4.2"] + python: ["3.10", "3.11", "3.12", "3.13", "3.14"] + django: ["4.2", "5.2", "6.0"] exclude: + - python: "3.13" + django: "4.2" + - python: "3.14" + django: "4.2" + - python: "3.10" + django: "6.0" - python: "3.11" - django: "3.2" - - python: "3.11" - django: "4.0" + django: "6.0" steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} - - uses: actions/cache@v1 + - uses: actions/cache@v5 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} diff --git a/README.md b/README.md index b6d5f2b..217ea27 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ django-wrapwith **A Django template tag for wrapping a template block in a reusable enclosing template.** -Provides a block tag called `wrapwith` which behaves exactly like [the built-in `include` tag](https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#include), but injects the contents of the block into the included template. +Provides a block tag called `wrapwith` which behaves exactly like [the built-in `include` tag](https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#include), but injects the contents of the block into the included template. It is intended to make wrapper markup reusable, encouraging you to break your template into "components" which might have a particular enclosing structure but varying contents. It is particularly useful with design systems that provide components (cards, blockquotes, accordians etc) that have reusable structure but arbitrary content. diff --git a/requirements.txt b/requirements.txt index 0a17512..82b5593 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -autoflake==1.4 -black==22.12.0 -flake8==5.0.4 -isort==5.9.1 +autoflake==2.3.3 +black==26.1.0 +flake8==7.3.0 +isort==8.0.0