@@ -75,6 +75,9 @@ envlist =
7575 {py2.7,py3.5,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-flask-v{1.1}
7676 {py3.6,py3.8,py3.9,py3.10,py3.11}-flask-v{2.0}
7777
78+ # Gevent
79+ {py2.7,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-gevent
80+
7881 # GCP
7982 {py3.7}-gcp
8083
@@ -157,6 +160,16 @@ deps =
157160
158161 linters: -r linter-requirements.txt
159162
163+ # Gevent
164+ # See http://www.gevent.org/install.html#older-versions-of-python
165+ # for justification of the versions pinned below
166+ py3.4-gevent: gevent ==1.4.0
167+ py3.5-gevent: gevent ==20.9.0
168+ # See https://stackoverflow.com/questions/51496550/runtime-warning-greenlet-greenlet-size-changed
169+ # for justification why greenlet is pinned here
170+ py3.5-gevent: greenlet ==0.4.17
171+ {py2.7,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-gevent: gevent>=22.10.0, <22.11.0
172+
160173 # AIOHTTP
161174 aiohttp-v3.4: aiohttp>=3.4.0,<3.5.0
162175 aiohttp-v3.5: aiohttp>=3.5.0,<3.6.0
@@ -398,6 +411,8 @@ setenv =
398411 falcon: TESTPATH =tests/integrations/falcon
399412 fastapi: TESTPATH =tests/integrations/fastapi
400413 flask: TESTPATH =tests/integrations/flask
414+ # run all tests with gevent
415+ gevent: TESTPATH =tests
401416 gcp: TESTPATH =tests/integrations/gcp
402417 httpx: TESTPATH =tests/integrations/httpx
403418 huey: TESTPATH =tests/integrations/huey
0 commit comments