From c9ed79fbcf2ee1c8f7a4963bf4db1b832193068d Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Fri, 22 Mar 2024 15:38:24 +0100 Subject: [PATCH] :arrow_up: [#8] Upgrade django to 4.2 --- .github/workflows/ci.yml | 2 +- README.rst | 2 +- pyproject.toml | 3 +-- tox.ini | 3 --- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2955c5..93bb788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: python: ['3.9', '3.10', '3.11', '3.12'] - django: ['3.2', '4.2'] + django: ['4.2'] name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }}) diff --git a/README.rst b/README.rst index bc2ecd7..184a71b 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ Requirements ------------ * Python 3.9 or above -* Django 3.2/4.2 or newer +* Django 4.2 or newer Install diff --git a/pyproject.toml b/pyproject.toml index 19920f8..07d1777 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ keywords = ["TODO"] classifiers = [ "Development Status :: 3 - Alpha", "Framework :: Django", - "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", "Intended Audience :: Developers", "Operating System :: Unix", @@ -28,7 +27,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "django>=3.2.23", + "django>=4.2.11", "django-axes>=6.3.0", "django-cors-headers>=4.3.1", "django-markup>=1.8.1", diff --git a/tox.ini b/tox.ini index 5216d00..b1ea562 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [tox] envlist = - py{39,310}-django{3.2} py{310,311,312}-django{42} isort black @@ -10,14 +9,12 @@ skip_missing_interpreters = true [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 3.12: py312 [gh-actions:env] DJANGO = - 3.2: django32 4.2: django42 [testenv]