From 4640a7947f0b8995520f8588d0ed3790da098158 Mon Sep 17 00:00:00 2001 From: Wu Yun Date: Thu, 20 Jun 2024 17:49:39 +0800 Subject: [PATCH 1/4] chore: prepare release --- changelog | 10 ++++++++-- setup.py | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/changelog b/changelog index 9622edb..9a8519f 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,10 @@ -## [3.0.0] - 2022-11-24 +## [3.0.1] - 2024-06-25 + +## Fixed + +- TBD + +## [3.0.0] - 2024-04-08 ## Change @@ -37,7 +43,7 @@ ### Fixed - created_at and updated_at were missing on LCFile. -- updated_at was missing on new created LCObject. +- updated_at was missing on new created LCObject. ## [2.9.8] - 2021-12-10 diff --git a/setup.py b/setup.py index d5c8288..129a9e4 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( name='leancloud', - version='3.0.0', + version='3.0.1', description='LeanCloud Python SDK', url='https://leancloud.cn/', author='asaka', From 8a6cc190e0ced421cd0a5716432ecb60f9fbf502 Mon Sep 17 00:00:00 2001 From: Wu Yun Date: Fri, 21 Jun 2024 16:13:50 +0800 Subject: [PATCH 2/4] chore: pin requests version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d998f11..87860cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6' iso8601>=0.1.14 six>=1.11.0 qiniu>=7.3.1 -requests>=2.25.1 +requests>=2.25.1,<=2.31.0 requests-toolbelt>=1.0.0 urllib3<2 Werkzeug>=0.16.0,<2.0.0 From acba3e25e1d2ab9f7bd10adf28d214d961919290 Mon Sep 17 00:00:00 2001 From: Wu Yun Date: Fri, 21 Jun 2024 16:31:54 +0800 Subject: [PATCH 3/4] chore: test unpin requests --- requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 87860cf..bd5d96e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,9 +3,8 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6' iso8601>=0.1.14 six>=1.11.0 qiniu>=7.3.1 -requests>=2.25.1,<=2.31.0 +requests>=2.25.1 requests-toolbelt>=1.0.0 -urllib3<2 Werkzeug>=0.16.0,<2.0.0 secure-cookie>=0.1.0,<1.0.0 gevent>=22.10.2,<23.0.0 From dc5628e218f6d80c672727e76818794e91ded881 Mon Sep 17 00:00:00 2001 From: huangliling Date: Fri, 28 Jun 2024 11:48:20 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=BA=93=E7=89=88=E6=9C=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog | 2 +- requirements.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changelog b/changelog index 9a8519f..7539ac0 100644 --- a/changelog +++ b/changelog @@ -2,7 +2,7 @@ ## Fixed -- TBD +- Enable TCP keepalive socket option to fix "Connection reset by peer" problem. https://github.com/psf/requests/issues/4664 ## [3.0.0] - 2024-04-08 diff --git a/requirements.txt b/requirements.txt index bd5d96e..023768a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,9 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6' iso8601>=0.1.14 six>=1.11.0 qiniu>=7.3.1 -requests>=2.25.1 -requests-toolbelt>=1.0.0 +requests<=2.31.0 +urllib3<=1.26.18 +requests-toolbelt==1.0.0 Werkzeug>=0.16.0,<2.0.0 secure-cookie>=0.1.0,<1.0.0 gevent>=22.10.2,<23.0.0