Browse Source

fix dep versions

Bastien Sevajol 6 years ago
parent
commit
ab8eabb65c
2 changed files with 7 additions and 2 deletions
  1. 6 1
      example/fake_api/flask_api.py
  2. 1 1
      setup.py

+ 6 - 1
example/fake_api/flask_api.py View File

92
         """
92
         """
93
         delete user
93
         delete user
94
         """
94
         """
95
-        return NoContentSchema()
95
+        resp = flask.Response(
96
+            status=204,
97
+        )
98
+        # See tests.func.fake_api.test_flask.test_func_flask_fake_api
99
+        del resp.headers['Content-Type']
100
+        return resp
96
 
101
 
97
     def bind(self, app: flask.Flask):
102
     def bind(self, app: flask.Flask):
98
         app.add_url_rule('/about',
103
         app.add_url_rule('/about',

+ 1 - 1
setup.py View File

8
 here = path.abspath(path.dirname(__file__))
8
 here = path.abspath(path.dirname(__file__))
9
 
9
 
10
 install_requires = [
10
 install_requires = [
11
-    'marshmallow',
11
+    'marshmallow >2.0.0,<3.0.0a1',
12
     'apispec',
12
     'apispec',
13
     'multidict'
13
     'multidict'
14
 ]
14
 ]