From 8dde56acf62cdabc8aa29ef9bb3abdd3a10d354a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Leichtfu=C3=9F?= Date: Sun, 12 Feb 2023 20:42:14 +0100 Subject: [PATCH] skip support for django 1.11, 2.0 and 2.1 --- README.rst | 16 +++++++--------- setup.py | 14 +++++++++----- tox.ini | 17 ++++++----------- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/README.rst b/README.rst index c549a55..f8a4819 100644 --- a/README.rst +++ b/README.rst @@ -2,19 +2,17 @@ Welcome to django-more-admin-filters ==================================== -.. image:: https://travis-ci.com/thomst/django-more-admin-filters.svg?branch=master - :target: https://travis-ci.com/thomst/django-more-admin-filters - .. image:: https://coveralls.io/repos/github/thomst/django-more-admin-filters/badge.svg?branch=master :target: https://coveralls.io/github/thomst/django-more-admin-filters?branch=master + :alt: coveralls badge -.. image:: https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue - :target: https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue - :alt: python: 3.5, 3.6, 3.7, 3.8, 3.9 +.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue + :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-1.11%20%7C%202.0%20%7C%202.1%20%7C%202.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange - :target: https://img.shields.io/badge/django-1.11%20%7C%202.0%20%7C%202.1%20%7C%202.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange - :alt: django: 1.11, 2.0, 2.1, 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-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 Description diff --git a/setup.py b/setup.py index 1cc2bef..5c97621 100644 --- a/setup.py +++ b/setup.py @@ -12,9 +12,9 @@ def read(filename): version = __import__("more_admin_filters").__version__ -if '-dev' in version: +if 'dev' in version: dev_status = 'Development Status :: 3 - Alpha' -elif '-beta' in version: +elif 'beta' in version: dev_status = 'Development Status :: 4 - Beta' else: dev_status = 'Development Status :: 5 - Production/Stable' @@ -27,27 +27,31 @@ setup( long_description=read("README.rst"), author="Thomas Leichtfuß", author_email="thomas.leichtfuss@posteo.de", + url="https://github.com/thomst/django-more-admin-filters", license="BSD License", platforms=["OS Independent"], packages=find_packages(exclude=["tests"]), include_package_data=True, install_requires=[ - "Django>=1.11,<3.3", + "Django>=2.2,<4.0", ], classifiers=[ dev_status, "Framework :: Django", + "Framework :: Django :: 2.2", + "Framework :: Django :: 3.0", + "Framework :: Django :: 3.1", + "Framework :: Django :: 3.2", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks", diff --git a/tox.ini b/tox.ini index 4e8584c..de7130a 100644 --- a/tox.ini +++ b/tox.ini @@ -5,25 +5,20 @@ [tox] envlist = - {py35,py36,py37}-django111, - {py35,py36,py37}-django20, - {py35,py36,py37}-django21, - {py35,py36,py37,py38}-django22, - {py36,py37,py38}-django30, - {py36,py37,py38}-django31, - {py36,py37,py38,py39}-django32 + {py36,py37,py38}-django22 + {py36,py37,py38}-django30 + {py36,py37,py38}-django31 + {py37,py38,py39}-django32 + skip_missing_interpreters = true [testenv] deps = - django111: Django>=1.11,<2.0 - django20: Django>=2.0,<2.1 - django21: Django>=2.1,<2.2 django22: Django>=2.2,<3.0 django30: Django>=3.0,<3.1 django31: Django>=3.1,<3.2 django32: Django>=3.2,<3.3 - selenium + selenium<4.3.0 commands = {envpython} tests/manage.py test testapp {posargs} setenv = PYTHONPATH = .:{toxworkdir}