From b7ccc04cb6a67b95efcd160cdaf3a82ed73a8a7c Mon Sep 17 00:00:00 2001 From: liyaqin1 <42289525+liyaqin1@users.noreply.github.com> Date: Thu, 17 Aug 2023 10:25:02 -0700 Subject: [PATCH] change gevent version according to python version (#1235) * specify cython<3.0.0 * fix typo * specify the version * specify the version * specify gevent version * bump gevent version * test * test * test * Update setup.py * change gevent version according to python version --- deploy-agent/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy-agent/setup.py b/deploy-agent/setup.py index db452f61a2..b6fb9f4446 100644 --- a/deploy-agent/setup.py +++ b/deploy-agent/setup.py @@ -26,7 +26,8 @@ install_requires = [ "requests==2.20.0", "gevent>=1.0.2,<=1.2.2; python_version < '3'", - "gevent>=1.0.2,<=1.5.0; python_version >= '3'", + "gevent>=1.0.2,<=1.5.0; python_version < '3.8'", + "gevent==20.12.0; python_version >= '3.8'", "lockfile==0.10.2", "boto>=2.39.0", "python-daemon==2.0.6",