diff --git a/Pipfile b/Pipfile index d6e9932..035b570 100644 --- a/Pipfile +++ b/Pipfile @@ -22,7 +22,8 @@ qiniu = ">=7.1.4,<7.2.4" "urllib3" = ">=1.24.3,<=1.25.3" requests = ">=2.20.0,<=2.22.0" Werkzeug = ">=0.11.11,<1.0.0" -gevent = ">=1.0.2,<2.0.0" +gevent = ">=22.10.2,<23.0.0" typing = { version = "*", markers = "python_version < '3.5.0'" } pyopenssl = { version = "*", markers = "python_version < '2.7.9'" } idna = { version = "*", markers = "python_version < '2.7.9'" } +markupsafe = "<=2.0.1" diff --git a/changelog b/changelog index 9f88670..0cacdb6 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +## [2.9.12] - 2022-11-24 + +## Fixed + +- Upgrade gevent version to support Python 3.11 + ## [2.9.11] - 2022-06-23 ## Fixed diff --git a/requirements.txt b/requirements.txt index 2a316d4..b3fefa1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ qiniu>=7.3.1 requests>=2.25.1 Werkzeug>=0.16.0,<2.0.0 secure-cookie>=0.1.0,<1.0.0 -gevent>=21.1.0,<22.0.0 +gevent>=22.10.2,<23.0.0 typing; python_version < '3.5' markupsafe<=2.0.1 diff --git a/setup.py b/setup.py index aa6186e..9d7cb02 100644 --- a/setup.py +++ b/setup.py @@ -14,13 +14,14 @@ 'requests>=2.25.1', 'Werkzeug>=0.16.0,<2.0.0', 'secure-cookie>=0.1.0,<1.0.0', - 'gevent>=21.1.0,<22.0.0', - "typing; python_version < '3.5'" + 'gevent>=22.10.2,<23.0.0', + "typing; python_version < '3.5'", + 'markupsafe<=2.0.1', ] setup( name='leancloud', - version='2.9.11', + version='2.9.12', description='LeanCloud Python SDK', url='https://leancloud.cn/', author='asaka',