From 8433e92d2b93979178412e66e9892b5739958044 Mon Sep 17 00:00:00 2001 From: Lev Lybin Date: Wed, 19 Jun 2024 16:09:39 +0700 Subject: [PATCH] Add django 5.1 tests --- .github/workflows/tests.yml | 16 +++++++++++++++- README.md | 2 +- setup.py | 3 ++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 416303f..b6be581 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: python-version: [ "3.8", "3.9", "3.10", "3.11" ] - django-version: [ "3.2", "4.0", "4.1", "4.2", "5.0"] + django-version: [ "3.2", "4.0", "4.1", "4.2", "5.0", "5.1"] drf-version: [ "3.11", "3.12", "3.13", "3.14", "3.15" ] exclude: # https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django @@ -22,6 +22,14 @@ jobs: python-version: "3.8" - django-version: "5.0" python-version: "3.9" + - django-version: "5.1" + python-version: "3.8" + - django-version: "5.1" + python-version: "3.9" + - django-version: "5.1" + python-version: "3.10" + - django-version: "5.1" + python-version: "3.11" # https://www.django-rest-framework.org/community/release-notes/ - django-version: "4.2" drf-version: "3.11" @@ -35,6 +43,12 @@ jobs: drf-version: "3.12" - django-version: "5.0" drf-version: "3.13" + - django-version: "5.1" + drf-version: "3.11" + - django-version: "5.1" + drf-version: "3.12" + - django-version: "5.1" + drf-version: "3.13" steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/README.md b/README.md index 20900e8..d3bf97a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ## Requirements * Python: 3.8, 3.9, 3.10, 3.11, 3.12 -* Django: 3.2, 4.0, 4.1, 4.2, 5.0 +* Django: 3.2, 4.0, 4.1, 4.2, 5.0, 5.1 * DRF: 3.11, 3.12, 3.13, 3.14, 3.15 ## Installation diff --git a/setup.py b/setup.py index 48d221a..f486f80 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read(f): setup( name="drf-recaptcha", - version="3.1.0", + version="3.1.1", description="Django rest framework recaptcha field serializer.", long_description=read("README.md"), long_description_content_type="text/markdown", @@ -46,6 +46,7 @@ def read(f): "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",