Update tested versions, add python 3.13 support and django 5.2 support. Drop python 3.8 support (#271)

* Update tested versions

* Remove f string

* Fix second `format_html`

---------

Co-authored-by: Stan Triepels <1939656+GDay@users.noreply.github.com>
This commit is contained in:
Adam Johnson
2025-04-16 01:48:51 +02:00
committed by GitHub
co-authored by Stan Triepels
parent a154fd658a
commit 0090a6f411
5 changed files with 28 additions and 15 deletions
+20 -10
View File
@@ -26,19 +26,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
django: [ "4.2", "5.0", "5.1"]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
django:
- "4.2"
- "5.0"
- "5.1"
- "5.2"
exclude:
# django 5.1 does not support 3.8 and 3.9
- python-version: "3.8"
django: "5.1"
# django 5.2 does not support 3.9
- python-version: "3.9"
django: "5.2"
# django 5.1 does not support 3.9
- python-version: "3.9"
django: "5.1"
# django 5.0 does not support 3.8 and 3.9
- python-version: "3.8"
django: "5.0"
# django 5.0 does not support 3.9
- python-version: "3.9"
django: "5.0"
django: "5.0"
# django 4.2 does not support 3.13
- python-version: "3.13"
django: "4.2"
services:
mongodb:
@@ -70,7 +80,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry==1.8.5
poetry add "django==${{ matrix.django }}" --python=${{ matrix.python-version }}
poetry add "django~=${{ matrix.django }}a1" --python=${{ matrix.python-version }}
poetry install -E testing
- name: Run Tests
run: |