Skip to content

Commit

Permalink
Add django 5.1 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
llybin committed Jun 19, 2024
1 parent 84bade5 commit 957ecba
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
strategy:
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"]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
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
Expand All @@ -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"
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 957ecba

Please sign in to comment.