Skip to content

Commit

Permalink
Remove unsupported versions of Django
Browse files Browse the repository at this point in the history
According to https://www.djangoproject.com/download/, the currently supported
version are 3.2, 4.1, and 4.2
  • Loading branch information
mjumbewu committed Oct 24, 2023
1 parent 5d3529a commit 9cb1346
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 41 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,28 @@ jobs:
fail-fast: false
matrix:
env:
- python: 3.7
TOXENV: py37-django21-drf3
- python: 3.7
TOXENV: py37-django22-drf3
- python: 3.7
TOXENV: py37-django30-drf3

- python: 3.8
TOXENV: py38-django21-drf3
- python: 3.8
TOXENV: py38-django22-drf3
- python: 3.8
TOXENV: py38-django30-drf3
- python: 3.8
TOXENV: py38-django31-drf3
- python: 3.8
TOXENV: py38-django32-drf3

- python: 3.9
TOXENV: py39-django22-drf3
- python: 3.9
TOXENV: py39-django30-drf3
- python: 3.9
TOXENV: py39-django31-drf3
- python: 3.9
TOXENV: py39-django32-drf3
- python: 3.9
TOXENV: py39-django40-drf3
- python: 3.9
TOXENV: py39-django41-drf3
- python: 3.9
TOXENV: py39-django42-drf3

- python: '3.10'
TOXENV: py310-django32-drf3
- python: '3.10'
TOXENV: py310-django40-drf3
- python: '3.10'
TOXENV: py310-django41-drf3
- python: '3.10'
TOXENV: py310-django42-drf3

- python: '3.11'
TOXENV: py311-django41-drf3
- python: '3.11'
TOXENV: py311-django42-drf3


steps:
- uses: actions/checkout@v2
Expand Down
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ djangorestframework-csv

|build status|_

.. |build status| image:: https://secure.travis-ci.org/mjumbewu/django-rest-framework-csv.png?branch=master
.. _build status: https://travis-ci.org/mjumbewu/django-rest-framework-csv
.. |build status| image:: https://github.com/mjumbewu/django-rest-framework-csv/actions/workflows/test.yml/badge.svg

**CSV Tools for Django REST Framework**

**Author:** Mjumbe Wawatu Poe, `Follow me on Twitter <http://www.twitter.com/mjumbewu>`_.

Installation
------------

.. code-block:: bash
$ pip install djangorestframework-csv
Compatibility
-------------

- For compatibility with Python 3 and Django < 3.2, use `djangorestframework-csv<4`
- For compatibility with Python 2.7, use `djangorestframework-csv<3`

Usage
-----

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@ def get_package_data(package):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Django",
],
)
14 changes: 4 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
[tox]
envlist = py36-django{111,21,22}-drf3
py37-django{21,22,30}-drf3
py38-django{21,22,30,31,32}-drf3
py39-django{22,30,31,32,41,42}-drf3
py310-django{32,40,41,42}-drf3
envlist = py38-django{32}-drf3
py39-django{32,41,42}-drf3
py310-django{32,41,42}-drf3
py311-django{41,42}-drf3

[testenv]
commands = python manage.py test
deps =
six>=1.4.1
django111: Django>=1.11,<2.0
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
Expand Down

0 comments on commit 9cb1346

Please sign in to comment.