From e620b0efd73d1da8198df78c432e3364d28f69a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Leichtfu=C3=9F?= Date: Sun, 12 Feb 2023 22:03:19 +0100 Subject: [PATCH] added django-4.0 support --- .github/workflows/ci.yml | 3 +++ README.rst | 6 +++--- setup.py | 3 ++- tox.ini | 12 +++++++----- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f1ca7c..b755ff9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,9 @@ jobs: - python-version: "3.8" django-version: Django==3.2 + - python-version: "3.9" + django-version: Django==4.0 + steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/README.rst b/README.rst index 00f4d1b..741a5c8 100644 --- a/README.rst +++ b/README.rst @@ -14,9 +14,9 @@ Welcome to django-more-admin-filters :target: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue :alt: python: 3.6, 3.7, 3.8, 3.9 -.. image:: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange - :target: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange - :alt: django: 2.2, 3.0, 3.1, 3.2 +.. image:: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2%20%7C%204.0-orange + :target: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2%20%7C%204.0-orange + :alt: django: 2.2, 3.0, 3.1, 3.2, 4.0 Description diff --git a/setup.py b/setup.py index 49222c3..6279500 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( packages=find_packages(exclude=["tests"]), include_package_data=True, install_requires=[ - "Django>=2.2,<4.0", + "Django>=2.2,<4.1", ], classifiers=[ dev_status, @@ -51,6 +51,7 @@ setup( "Framework :: Django :: 3.0", "Framework :: Django :: 3.1", "Framework :: Django :: 3.2", + "Framework :: Django :: 4.0", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", diff --git a/tox.ini b/tox.ini index de7130a..5ee3ee4 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,11 @@ [tox] envlist = - {py36,py37,py38}-django22 - {py36,py37,py38}-django30 - {py36,py37,py38}-django31 - {py37,py38,py39}-django32 + {py36,py37}-django22 + {py36,py37}-django30 + {py37,py38}-django31 + {py38,py39}-django32 + {py38,py39}-django40 skip_missing_interpreters = true @@ -17,7 +18,8 @@ deps = django22: Django>=2.2,<3.0 django30: Django>=3.0,<3.1 django31: Django>=3.1,<3.2 - django32: Django>=3.2,<3.3 + django32: Django>=3.2,<4.0 + django40: Django>=4.0,<4.1 selenium<4.3.0 commands = {envpython} tests/manage.py test testapp {posargs}