Skip to content

Commit 01da077

Browse files
authored
Merge pull request #515 from leancloud/werkzeug-two-breaking
fix: Werkzeug 2.0.0 breaking changes
2 parents 479cd93 + f5e1a79 commit 01da077

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3207
-2063
lines changed

changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.9.3] - 2021-05-19
2+
### Fixed
3+
- dependency issues with werkzeug >= 2.0.0
4+
15
## [2.9.2] - 2021-03-05
26
### Fixed
37
- Python packaging issue causing installation failure on Python 2.7.

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: ce915336f880395538d1277ce317ada6
3+
config: ee9187cd4467b1a45ce0d81c47124d27
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_modules/index.html

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,38 @@
33
<!DOCTYPE html>
44
<html class="writer-html5" lang="zh-CN" >
55
<head>
6-
<meta charset="utf-8">
6+
<meta charset="utf-8" />
77

8-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99

1010
<title>概览:模块代码 &mdash; LeanCloud-Python-SDK 2.6.1 文档</title>
1111

1212

1313

1414
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1515
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16+
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
17+
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1618

1719

1820

21+
1922

2023

2124

2225

26+
27+
2328
<!--[if lt IE 9]>
2429
<script src="../_static/js/html5shiv.min.js"></script>
2530
<![endif]-->
2631

2732

2833
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
34+
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
2935
<script src="../_static/jquery.js"></script>
3036
<script src="../_static/underscore.js"></script>
3137
<script src="../_static/doctools.js"></script>
32-
<script src="../_static/language_data.js"></script>
3338
<script src="../_static/translations.js"></script>
3439

3540
<script type="text/javascript" src="../_static/js/theme.js"></script>
@@ -50,7 +55,7 @@
5055

5156

5257

53-
<a href="../index.html" class="icon icon-home" alt="Documentation Home"> LeanCloud-Python-SDK
58+
<a href="../index.html" class="icon icon-home"> LeanCloud-Python-SDK
5459

5560

5661

@@ -68,7 +73,7 @@
6873

6974
<div role="search">
7075
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
71-
<input type="text" name="q" placeholder="Search docs" />
76+
<input type="text" name="q" placeholder="在文档中搜索" />
7277
<input type="hidden" name="check_keywords" value="yes" />
7378
<input type="hidden" name="area" value="default" />
7479
</form>
@@ -125,6 +130,8 @@
125130

126131

127132

133+
134+
128135
<div role="navigation" aria-label="breadcrumbs navigation">
129136

130137
<ul class="wy-breadcrumbs">
@@ -168,28 +175,25 @@ <h1>代码可用的所有模块</h1>
168175

169176
</div>
170177
<footer>
171-
172178

173179
<hr/>
174180

175181
<div role="contentinfo">
176182
<p>
177-
178-
&copy; 版权所有 2015, asaka
183+
&#169; 版权所有 2015, asaka.
179184

180185
</p>
181186
</div>
182187

183188

184189

185-
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
190+
利用 <a href="https://www.sphinx-doc.org/">Sphinx</a> 构建,使用了
186191

187-
<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
192+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">主题</a>
188193

189-
provided by <a href="https://readthedocs.org">Read the Docs</a>.
194+
<a href="https://readthedocs.org">Read the Docs</a>开发.
190195

191196
</footer>
192-
193197
</div>
194198
</div>
195199

docs/_modules/leancloud/acl.html

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,38 @@
33
<!DOCTYPE html>
44
<html class="writer-html5" lang="zh-CN" >
55
<head>
6-
<meta charset="utf-8">
6+
<meta charset="utf-8" />
77

8-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99

1010
<title>leancloud.acl &mdash; LeanCloud-Python-SDK 2.6.1 文档</title>
1111

1212

1313

1414
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
1515
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
16+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
17+
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
1618

1719

1820

21+
1922

2023

2124

2225

26+
27+
2328
<!--[if lt IE 9]>
2429
<script src="../../_static/js/html5shiv.min.js"></script>
2530
<![endif]-->
2631

2732

2833
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
34+
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
2935
<script src="../../_static/jquery.js"></script>
3036
<script src="../../_static/underscore.js"></script>
3137
<script src="../../_static/doctools.js"></script>
32-
<script src="../../_static/language_data.js"></script>
3338
<script src="../../_static/translations.js"></script>
3439

3540
<script type="text/javascript" src="../../_static/js/theme.js"></script>
@@ -50,7 +55,7 @@
5055

5156

5257

53-
<a href="../../index.html" class="icon icon-home" alt="Documentation Home"> LeanCloud-Python-SDK
58+
<a href="../../index.html" class="icon icon-home"> LeanCloud-Python-SDK
5459

5560

5661

@@ -68,7 +73,7 @@
6873

6974
<div role="search">
7075
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
71-
<input type="text" name="q" placeholder="Search docs" />
76+
<input type="text" name="q" placeholder="在文档中搜索" />
7277
<input type="hidden" name="check_keywords" value="yes" />
7378
<input type="hidden" name="area" value="default" />
7479
</form>
@@ -125,6 +130,8 @@
125130

126131

127132

133+
134+
128135
<div role="navigation" aria-label="breadcrumbs navigation">
129136

130137
<ul class="wy-breadcrumbs">
@@ -151,10 +158,10 @@
151158
<h1>leancloud.acl 源代码</h1><div class="highlight"><pre>
152159
<span></span><span class="c1"># coding: utf-8</span>
153160

154-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">absolute_import</span>
155-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">division</span>
156-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">print_function</span>
157-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">unicode_literals</span>
161+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">absolute_import</span>
162+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">division</span>
163+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">print_function</span>
164+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">unicode_literals</span>
158165

159166
<span class="kn">import</span> <span class="nn">six</span>
160167

@@ -167,7 +174,7 @@ <h1>leancloud.acl 源代码</h1><div class="highlight"><pre>
167174

168175

169176
<div class="viewcode-block" id="ACL"><a class="viewcode-back" href="../../index.html#leancloud.ACL">[文档]</a><span class="k">class</span> <span class="nc">ACL</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
170-
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">permissions_by_id</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
177+
<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">permissions_by_id</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
171178
<span class="bp">self</span><span class="o">.</span><span class="n">permissions_by_id</span> <span class="o">=</span> <span class="n">permissions_by_id</span> <span class="ow">or</span> <span class="p">{}</span>
172179

173180
<div class="viewcode-block" id="ACL.dump"><a class="viewcode-back" href="../../index.html#leancloud.ACL.dump">[文档]</a> <span class="k">def</span> <span class="nf">dump</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
@@ -259,28 +266,25 @@ <h1>leancloud.acl 源代码</h1><div class="highlight"><pre>
259266

260267
</div>
261268
<footer>
262-
263269

264270
<hr/>
265271

266272
<div role="contentinfo">
267273
<p>
268-
269-
&copy; 版权所有 2015, asaka
274+
&#169; 版权所有 2015, asaka.
270275

271276
</p>
272277
</div>
273278

274279

275280

276-
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
281+
利用 <a href="https://www.sphinx-doc.org/">Sphinx</a> 构建,使用了
277282

278-
<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
283+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">主题</a>
279284

280-
provided by <a href="https://readthedocs.org">Read the Docs</a>.
285+
<a href="https://readthedocs.org">Read the Docs</a>开发.
281286

282287
</footer>
283-
284288
</div>
285289
</div>
286290

docs/_modules/leancloud/client.html

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,38 @@
33
<!DOCTYPE html>
44
<html class="writer-html5" lang="zh-CN" >
55
<head>
6-
<meta charset="utf-8">
6+
<meta charset="utf-8" />
77

8-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99

1010
<title>leancloud.client &mdash; LeanCloud-Python-SDK 2.6.1 文档</title>
1111

1212

1313

1414
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
1515
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
16+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
17+
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
1618

1719

1820

21+
1922

2023

2124

2225

26+
27+
2328
<!--[if lt IE 9]>
2429
<script src="../../_static/js/html5shiv.min.js"></script>
2530
<![endif]-->
2631

2732

2833
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
34+
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
2935
<script src="../../_static/jquery.js"></script>
3036
<script src="../../_static/underscore.js"></script>
3137
<script src="../../_static/doctools.js"></script>
32-
<script src="../../_static/language_data.js"></script>
3338
<script src="../../_static/translations.js"></script>
3439

3540
<script type="text/javascript" src="../../_static/js/theme.js"></script>
@@ -50,7 +55,7 @@
5055

5156

5257

53-
<a href="../../index.html" class="icon icon-home" alt="Documentation Home"> LeanCloud-Python-SDK
58+
<a href="../../index.html" class="icon icon-home"> LeanCloud-Python-SDK
5459

5560

5661

@@ -68,7 +73,7 @@
6873

6974
<div role="search">
7075
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
71-
<input type="text" name="q" placeholder="Search docs" />
76+
<input type="text" name="q" placeholder="在文档中搜索" />
7277
<input type="hidden" name="check_keywords" value="yes" />
7378
<input type="hidden" name="area" value="default" />
7479
</form>
@@ -125,6 +130,8 @@
125130

126131

127132

133+
134+
128135
<div role="navigation" aria-label="breadcrumbs navigation">
129136

130137
<ul class="wy-breadcrumbs">
@@ -151,10 +158,10 @@
151158
<h1>leancloud.client 源代码</h1><div class="highlight"><pre>
152159
<span></span><span class="c1"># coding: utf-8</span>
153160

154-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">absolute_import</span>
155-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">division</span>
156-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">print_function</span>
157-
<span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">unicode_literals</span>
161+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">absolute_import</span>
162+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">division</span>
163+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">print_function</span>
164+
<span class="kn">from</span> <span class="nn">__future__</span> <span class="k">import</span> <span class="n">unicode_literals</span>
158165

159166
<span class="kn">import</span> <span class="nn">os</span>
160167
<span class="kn">import</span> <span class="nn">json</span>
@@ -166,8 +173,8 @@ <h1>leancloud.client 源代码</h1><div class="highlight"><pre>
166173
<span class="kn">import</span> <span class="nn">requests</span>
167174

168175
<span class="kn">import</span> <span class="nn">leancloud</span>
169-
<span class="kn">from</span> <span class="nn">leancloud</span> <span class="kn">import</span> <span class="n">utils</span>
170-
<span class="kn">from</span> <span class="nn">leancloud.app_router</span> <span class="kn">import</span> <span class="n">AppRouter</span>
176+
<span class="kn">from</span> <span class="nn">leancloud</span> <span class="k">import</span> <span class="n">utils</span>
177+
<span class="kn">from</span> <span class="nn">leancloud.app_router</span> <span class="k">import</span> <span class="n">AppRouter</span>
171178

172179
<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;asaka &lt;[email protected]&gt;&quot;</span>
173180

@@ -416,28 +423,25 @@ <h1>leancloud.client 源代码</h1><div class="highlight"><pre>
416423

417424
</div>
418425
<footer>
419-
420426

421427
<hr/>
422428

423429
<div role="contentinfo">
424430
<p>
425-
426-
&copy; 版权所有 2015, asaka
431+
&#169; 版权所有 2015, asaka.
427432

428433
</p>
429434
</div>
430435

431436

432437

433-
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
438+
利用 <a href="https://www.sphinx-doc.org/">Sphinx</a> 构建,使用了
434439

435-
<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
440+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">主题</a>
436441

437-
provided by <a href="https://readthedocs.org">Read the Docs</a>.
442+
<a href="https://readthedocs.org">Read the Docs</a>开发.
438443

439444
</footer>
440-
441445
</div>
442446
</div>
443447

0 commit comments

Comments
 (0)