diff mbox series

[1/2] Add support for Django REST Framework 3.9

Message ID 20181018164806.9815-1-stephen@that.guru
State Accepted
Headers show
Series [1/2] Add support for Django REST Framework 3.9 | expand

Commit Message

Stephen Finucane Oct. 18, 2018, 4:48 p.m. UTC
As with 3.7 and 3.8, there are no breaking changes we need to be
concerned with here.

Signed-off-by: Stephen Finucane <stephen@that.guru>
---
 .../notes/django-rest-framework-3-9-0afb78322dd82367.yaml   | 6 ++++++
 requirements-dev.txt                                        | 2 +-
 requirements-prod.txt                                       | 2 +-
 tox.ini                                                     | 4 ++--
 4 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 releasenotes/notes/django-rest-framework-3-9-0afb78322dd82367.yaml

Comments

Stephen Finucane Oct. 19, 2018, 8:55 p.m. UTC | #1
On Thu, 2018-10-18 at 17:48 +0100, Stephen Finucane wrote:
> As with 3.7 and 3.8, there are no breaking changes we need to be
> concerned with here.
> 
> Signed-off-by: Stephen Finucane <stephen@that.guru>

Passes tests and doesn't require anything more than a version bump and
release notes. Merged. Time to start playing with openapi :) [1]

Stephen

[1]  https://www.django-rest-framework.org/community/3.9-announcement/#built-in-openapi-schema-support
diff mbox series

Patch

diff --git a/releasenotes/notes/django-rest-framework-3-9-0afb78322dd82367.yaml b/releasenotes/notes/django-rest-framework-3-9-0afb78322dd82367.yaml
new file mode 100644
index 00000000..e6553180
--- /dev/null
+++ b/releasenotes/notes/django-rest-framework-3-9-0afb78322dd82367.yaml
@@ -0,0 +1,6 @@ 
+---
+upgrade:
+  - |
+    `Django REST Framework 3.9
+    <https://www.django-rest-framework.org/community/3.9-announcement/>`_ is now
+    supported.
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 994b9b68..ae6a1b1d 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,6 +1,6 @@ 
 Django==2.1.2; python_version >= '3.4'
 Django==1.11.15; python_version < '3.0'  # pyup: ignore
-djangorestframework==3.8.2
+djangorestframework==3.9.0
 django-filter==2.0.0; python_version >= '3.4'
 django-filter==1.1.0; python_version < '3.0'  # pyup: ignore
 django-debug-toolbar==1.10.1
diff --git a/requirements-prod.txt b/requirements-prod.txt
index 5bf8a273..f3647d6b 100644
--- a/requirements-prod.txt
+++ b/requirements-prod.txt
@@ -1,6 +1,6 @@ 
 Django==2.1.2; python_version >= '3.4'
 Django==1.11.15; python_version < '3.0'  # pyup: ignore
-djangorestframework==3.8.2
+djangorestframework==3.9.0
 django-filter==2.0.0; python_version >= '3.4'
 django-filter==1.1.0; python_version < '3.0'  # pyup: ignore
 psycopg2-binary==2.7.5
diff --git a/tox.ini b/tox.ini
index df17df7e..384d3c7c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,12 +7,12 @@  skipsdist = True
 deps =
     -r{toxinidir}/requirements-test.txt
     django111: django>=1.11,<2.0
-    django111: djangorestframework>=3.6,<3.9
+    django111: djangorestframework>=3.6,<3.10
     django111: django-filter>=1.0,<3.0; python_version >= '3.4'
     django111: django-filter>=1.0,<2.0; python_version < '3.0'
     django20: django>=2.0,<2.1
     django21: django>=2.1,<2.2
-    django{20,21}: djangorestframework>=3.7,<3.9
+    django{20,21}: djangorestframework>=3.7,<3.10
     django{20,21}: django-filter>=2.0,<3.0
 setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev