From 98aebe6542690557ca7d903255a25ff3f29e1445 Mon Sep 17 00:00:00 2001 From: Alexandre Muller Date: Thu, 26 Oct 2023 17:14:32 +0200 Subject: [PATCH] Add support for Django 4.1 & 4.2 --- .github/workflows/tests.yml | 2 ++ .travis.yml | 10 ++++++++++ CHANGES.rst | 1 + tox.ini | 4 +++- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fb832a7..d0d858e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,6 +35,8 @@ jobs: - 3.10 django: - django32 + - django41 + - django42 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.travis.yml b/.travis.yml index 8161dcc..01c47b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,16 @@ matrix: - {env: DJANGO=3.2, python: '3.10'} - {env: DJANGO=3.2, python: 'nightly'} + - {env: DJANGO=4.1, python: '3.8'} + - {env: DJANGO=4.1, python: '3.9'} + - {env: DJANGO=4.1, python: '3.10'} + - {env: DJANGO=4.1, python: 'nightly'} + + - {env: DJANGO=4.2, python: '3.8'} + - {env: DJANGO=4.2, python: '3.9'} + - {env: DJANGO=4.2, python: '3.10'} + - {env: DJANGO=4.2, python: 'nightly'} + - {env: DJANGO=master, python: '3.8'} - {env: DJANGO=master, python: '3.9'} - {env: DJANGO=master, python: '3.10'} diff --git a/CHANGES.rst b/CHANGES.rst index 705a453..da29984 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,7 @@ 1.4.2 (unreleased) ------------------ +- Add support for Django 4.1 & 4.2 - Add support for Python 3.10 - Drop support for Python 3.6 & 3.7 - Drop support for Django 3.1 diff --git a/tox.ini b/tox.ini index 8e85999..b103029 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,nightly}-django{32,main} + py{38,39,310,nightly}-django{32,41,42,main} quality docstring @@ -9,6 +9,8 @@ commands = pytest --doctest-glob=README.rst --doctest-modules {posargs} deps = -rrequirements/tests.txt django32: Django==3.2.* + django41: Django==4.1.* + django42: Django==4.2.* djangomain: https://github.com/django/django/archive/refs/heads/main.zip passenv = PYTEST_ADDOPTS