Skip to content

Commit

Permalink
Update support and test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
axnsan12 committed Oct 25, 2020
1 parent a4a1d58 commit efd7fab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Generate **real** Swagger/OpenAPI 2.0 specifications from a Django Rest Framewor

Compatible with

- **Django Rest Framework**: 3.8, 3.9, 3.10, 3.11
- **Django**: 1.11, 2.2, 3.0
- **Python**: 2.7, 3.6, 3.7, 3.8
- **Django Rest Framework**: 3.10, 3.11, 3.12
- **Django**: 2.2, 3.0, 3.1
- **Python**: 3.6, 3.7, 3.8, 3.9

Only the latest patch version of each ``major.minor`` series of Python, Django and Django REST Framework is supported.

Expand Down
17 changes: 7 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ isolated_build_env = .package

# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
envlist =
py36-django{22}-drf{38,39},
py37-django22-drf{38,39,310,311},
py38-django22-drf{310,311},
py38-django3-drf{311},
py{36,37,38,39}-django{22,30,31}-drf{310,311,312},
djmaster, lint, docs
skip_missing_interpreters = true

Expand All @@ -21,13 +18,15 @@ deps =
django22: Django>=2.2,<2.3
django22: django-oauth-toolkit>=1.3.2

django3: Django>=3.0,<4
django3: django-oauth-toolkit>=1.3.2
django30: Django>=3.0,<3.1
django30: django-oauth-toolkit>=1.3.2

django31: Django>=3.1,<3.2
django31: django-oauth-toolkit>=1.3.2

drf38: djangorestframework>=3.8,<3.9
drf39: djangorestframework>=3.9,<3.10
drf310: djangorestframework>=3.10,<3.11
drf311: djangorestframework>=3.11,<3.12
drf312: djangorestframework>=3.12,<3.13

typing: typing>=3.6.6

Expand Down Expand Up @@ -55,8 +54,6 @@ commands =
[testenv:docs]
deps =
-r requirements/docs.txt
# latest supported version of DRF by current drf_yasg
djangorestframework>=3.11,<3.12
commands =
twine check .tox/dist/*
sphinx-build -WnEa -b html docs docs/_build/html
Expand Down

0 comments on commit efd7fab

Please sign in to comment.