Skip to content

Commit

Permalink
Add support drf314 tests (#22)
Browse files Browse the repository at this point in the history
* Add support for Django 4.2, DRF 3.14, Python 3.11

* Add support for DRF 3.14
  • Loading branch information
llybin authored Oct 25, 2022
1 parent a716fc8 commit 8da234a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ jobs:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
django-version: [ "3.2", "4.0", "4.1" ]
drf-version: [ "3.11", "3.12", "3.13" ]
drf-version: [ "3.11", "3.12", "3.13", "3.14" ]
exclude:
# django-version 4+ is compatible with python 3.8+
- django-version: "4.0"
python-version: "3.7"
- django-version: "4.1"
python-version: "3.7"
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
- django-version: "4.0"
python-version: "3.7"
- django-version: "4.1"
python-version: "3.7"
# https://www.django-rest-framework.org/community/release-notes/
steps:
- uses: actions/checkout@v2
- 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 @@ -14,7 +14,7 @@

* Python: 3.7, 3.8, 3.9, 3.10
* Django: 3.2, 4.0, 4.1
* DRF: 3.11, 3.12, 3.13
* DRF: 3.11, 3.12, 3.13, 3.14

## Installation

Expand Down
2 changes: 1 addition & 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="2.2.1",
version="2.2.2",
description="Django rest framework recaptcha field serializer.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 8da234a

Please # to comment.