10000 Add Django v5.1 to the testing · django-haystack/django-haystack@7f49226 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f49226

Browse files
cclaussclaudep
authored andcommitted
Add Django v5.1 to the testing
1 parent 5993d98 commit 7f49226

File tree

4 files changed

+10
-3
lines changed
  • .github/workflows
    • < 8000 div style="width:100%;display:flex">
  • 4 files changed

    +10
    -3
    lines changed

    .github/workflows/test.yml

    Lines changed: 5 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -20,7 +20,7 @@ jobs:
    2020
    strategy:
    2121
    fail-fast: false
    2222
    matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
    23-
    django-version: ["3.2", "4.2", "5.0"]
    23+
    django-version: ["3.2", "4.2", "5.0", "5.1"]
    2424
    python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
    2525
    elastic-version: ["7.17.9"]
    2626
    exclude:
    @@ -32,6 +32,10 @@ jobs:
    3232
    python-version: "3.8"
    3333
    - django-version: "5.0"
    3434
    python-version: "3.9"
    35+
    - django-version: "5.1"
    36+
    python-version: "3.8"
    37+
    - django-version: "5.1"
    38+
    python-version: "3.9"
    3539
    services:
    3640
    elastic:
    3741
    image: elasticsearch:${{ matrix.elastic-version }}

    .pre-commit-config.yaml

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -6,7 +6,7 @@ repos:
    66
    rev: 1.20.0
    77
    hooks:
    88
    - id: django-upgrade
    9-
    args: [--target-version, "5.0"] # Replace with Django version
    9+
    args: [--target-version, "5.1"] # Replace with Django version
    1010

    1111
    - repo: https://github.com/astral-sh/ruff-pre-commit
    1212
    rev: v0.5.6

    pyproject.toml

    Lines changed: 1 addition & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -18,6 +18,7 @@ classifiers = [
    1818
    "Framework :: Django :: 3.2",
    1919
    "Framework :: Django :: 4.2",
    2020
    "Framework :: Django :: 5.0",
    21+
    "Framework :: Django :: 5.1",
    2122
    "Intended Audience :: Developers",
    2223
    "License :: OSI Approved :: BSD License",
    2324
    "Operating System :: OS Independent",

    tox.ini

    Lines changed: 3 additions & 1 deletion
    4
    Original file line numberDiff line numberDiff line change
    @@ -1,7 +1,7 @@
    11
    [tox]
    22
    envlist =
    33
    docs
    -
    py{38,39,310,311,312}-django{3.2,4.2,5.0}-es7.x
    4+
    py{38,39,310,311,312}-django{3.2,4.2,5.0,5.1}-es7.x
    55

    66
    [gh-actions]
    77
    python =
    @@ -16,6 +16,7 @@ DJANGO =
    1616
    3.2: django3.2
    1717
    4.2: django4.2
    1818
    5.0: django5.0
    19+
    5.1: django5.1
    1920

    2021
    [testenv]
    2122
    commands =
    @@ -32,6 +33,7 @@ deps =
    3233
    django3.2: Django>=3.2,<3.3
    3334
    django4.2: Django>=4.2,<4.3
    3435
    django5.0: Django>=5.0,<5.1
    36+
    django5.1: Django>=5.1,<5.2
    3537
    es1.x: elasticsearch>=1,<2
    3638
    es2.x: elasticsearch>=2,<3
    3739
    es5.x: elasticsearch>=5,<6

    0 commit comments

    Comments
     (0)
    0