diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 94b3153f1..9798f8b85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: max-parallel: 5 matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] - django-version: ['3.2', '4.1', '4.2', 'main'] + django-version: ['3.2', '4.1', '4.2', '5.0', '5.1', 'main'] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3432d5a20..597430e92 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,8 @@ v3.0.0 - Fixed PayPal backends not saving captured_amount when processing data. - Fixed ``base_payment.refund()`` not making any refund - PayPal backends now perform a full refund if ``amount=None``. +- Added support for Django 5.0. +- Added support for Django 5.1. v2.0.0 ------ diff --git a/pyproject.toml b/pyproject.toml index 044fd9221..772a0b5c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,8 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index b3d059c54..4ade0527b 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = py{38,39}-dj32 py{38,39,310,311}-dj{41,42} + py{311,312}-dj{50,51} py{310,311,312}-djmain skip_missing_interpreters = true @@ -15,6 +16,8 @@ deps= dj32: Django>=3.2,<3.3 dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<5.0 + dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz extras= braintree @@ -48,6 +51,8 @@ DJANGO = 3.2: dj32 4.1: dj41 4.2: dj42 + 5.0: dj50 + 5.1: dj51 main: djmain [testenv:docs]