Skip to content

Commit 5efd1a3

Browse files
committed
feat: add uWSGI + gevent support with threading
We add support for the combination of uWSGI + gevent when threads are also gevent-monkey-patched.
1 parent 1c3361c commit 5efd1a3

File tree

19 files changed

+195
-80
lines changed

19 files changed

+195
-80
lines changed

.riot/requirements/4de151d.txt renamed to .riot/requirements/12326be.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/4de151d.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/12326be.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
exceptiongroup==1.3.0
1010
gevent==25.9.1
1111
greenlet==3.2.4
@@ -17,21 +17,19 @@ opentracing==2.4.0
1717
packaging==25.0
1818
pluggy==1.6.0
1919
py-cpuinfo==9.0.0
20-
pyfakefs==5.10.0
20+
pyfakefs==5.10.2
2121
pygments==2.19.2
2222
pytest==8.4.2
2323
pytest-asyncio==0.23.8
24-
pytest-benchmark==5.1.0
24+
pytest-benchmark==5.2.3
2525
pytest-cov==7.0.0
2626
pytest-mock==3.15.1
2727
pytest-randomly==4.0.1
2828
python-json-logger==2.0.7
2929
sortedcontainers==2.4.0
3030
tomli==2.3.0
3131
typing-extensions==4.15.0
32-
wrapt==2.0.0
33-
zope-event==6.0
34-
zope-interface==8.0.1
35-
36-
# The following packages are considered to be unsafe in a requirements file:
37-
setuptools==80.9.0
32+
uwsgi==2.0.31
33+
wrapt==2.0.1
34+
zope-event==6.1
35+
zope-interface==8.1

.riot/requirements/57b4529.txt renamed to .riot/requirements/144596d.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/57b4529.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/144596d.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
gevent==25.9.1
1010
greenlet==3.2.4
1111
httpretty==1.1.4
@@ -16,19 +16,17 @@ opentracing==2.4.0
1616
packaging==25.0
1717
pluggy==1.6.0
1818
py-cpuinfo==9.0.0
19-
pyfakefs==5.10.0
19+
pyfakefs==5.10.2
2020
pygments==2.19.2
2121
pytest==8.4.2
2222
pytest-asyncio==0.23.8
23-
pytest-benchmark==5.1.0
23+
pytest-benchmark==5.2.3
2424
pytest-cov==7.0.0
2525
pytest-mock==3.15.1
2626
pytest-randomly==4.0.1
2727
python-json-logger==2.0.7
2828
sortedcontainers==2.4.0
29-
wrapt==2.0.0
30-
zope-event==6.0
31-
zope-interface==8.0.1
32-
33-
# The following packages are considered to be unsafe in a requirements file:
34-
setuptools==80.9.0
29+
uwsgi==2.0.31
30+
wrapt==2.0.1
31+
zope-event==6.1
32+
zope-interface==8.1

.riot/requirements/1f9c58a.txt renamed to .riot/requirements/15f816b.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1f9c58a.in
5+
# pip-compile --allow-unsafe --no-annotate --resolver=backtracking .riot/requirements/15f816b.in
66
#
77
attrs==25.3.0
88
coverage[toml]==7.6.1
@@ -18,7 +18,7 @@ opentracing==2.4.0
1818
packaging==25.0
1919
pluggy==1.5.0
2020
py-cpuinfo==9.0.0
21-
pyfakefs==5.10.0
21+
pyfakefs==5.10.2
2222
pytest==8.3.5
2323
pytest-asyncio==0.23.8
2424
pytest-benchmark==4.0.0
@@ -29,6 +29,7 @@ python-json-logger==2.0.7
2929
sortedcontainers==2.4.0
3030
tomli==2.3.0
3131
typing-extensions==4.13.2
32+
uwsgi==2.0.31
3233
wrapt==1.17.3
3334
zipp==3.20.2
3435
zope-event==5.0

.riot/requirements/5d37fda.txt renamed to .riot/requirements/16bca4c.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/5d37fda.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/16bca4c.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
exceptiongroup==1.3.0
1010
gevent==25.9.1
1111
greenlet==3.2.4
@@ -17,21 +17,19 @@ opentracing==2.4.0
1717
packaging==25.0
1818
pluggy==1.6.0
1919
py-cpuinfo==9.0.0
20-
pyfakefs==5.10.0
20+
pyfakefs==5.10.2
2121
pygments==2.19.2
2222
pytest==8.4.2
2323
pytest-asyncio==0.23.8
24-
pytest-benchmark==5.1.0
24+
pytest-benchmark==5.2.3
2525
pytest-cov==7.0.0
2626
pytest-mock==3.15.1
2727
pytest-randomly==4.0.1
2828
python-json-logger==2.0.7
2929
sortedcontainers==2.4.0
3030
tomli==2.3.0
3131
typing-extensions==4.15.0
32+
uwsgi==2.0.31
3233
wrapt==1.17.3
33-
zope-event==6.0
34-
zope-interface==8.0.1
35-
36-
# The following packages are considered to be unsafe in a requirements file:
37-
setuptools==80.9.0
34+
zope-event==6.1
35+
zope-interface==8.1

.riot/requirements/188dfd0.txt renamed to .riot/requirements/18b53da.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/188dfd0.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/18b53da.in
66
#
77
attrs==25.4.0
88
coverage[toml]==7.10.7
@@ -18,18 +18,19 @@ opentracing==2.4.0
1818
packaging==25.0
1919
pluggy==1.6.0
2020
py-cpuinfo==9.0.0
21-
pyfakefs==5.10.0
21+
pyfakefs==5.10.2
2222
pygments==2.19.2
2323
pytest==8.4.2
2424
pytest-asyncio==0.23.8
25-
pytest-benchmark==5.1.0
25+
pytest-benchmark==5.2.3
2626
pytest-cov==7.0.0
2727
pytest-mock==3.15.1
2828
pytest-randomly==4.0.1
2929
python-json-logger==2.0.7
3030
sortedcontainers==2.4.0
3131
tomli==2.3.0
3232
typing-extensions==4.15.0
33+
uwsgi==2.0.31
3334
wrapt==1.17.3
3435
zipp==3.23.0
3536
zope-event==6.0

.riot/requirements/1aa6774.txt renamed to .riot/requirements/1a66ae9.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1aa6774.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1a66ae9.in
66
#
77
attrs==25.4.0
88
coverage[toml]==7.10.7
@@ -18,19 +18,20 @@ opentracing==2.4.0
1818
packaging==25.0
1919
pluggy==1.6.0
2020
py-cpuinfo==9.0.0
21-
pyfakefs==5.10.0
21+
pyfakefs==5.10.2
2222
pygments==2.19.2
2323
pytest==8.4.2
2424
pytest-asyncio==0.23.8
25-
pytest-benchmark==5.1.0
25+
pytest-benchmark==5.2.3
2626
pytest-cov==7.0.0
2727
pytest-mock==3.15.1
2828
pytest-randomly==4.0.1
2929
python-json-logger==2.0.7
3030
sortedcontainers==2.4.0
3131
tomli==2.3.0
3232
typing-extensions==4.15.0
33-
wrapt==2.0.0
33+
uwsgi==2.0.31
34+
wrapt==2.0.1
3435
zipp==3.23.0
3536
zope-event==6.0
3637
zope-interface==8.0.1

.riot/requirements/12ac950.txt renamed to .riot/requirements/1e2d016.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/12ac950.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1e2d016.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
gevent==25.9.1
1010
greenlet==3.2.4
1111
httpretty==1.1.4
@@ -16,17 +16,18 @@ opentracing==2.4.0
1616
packaging==25.0
1717
pluggy==1.6.0
1818
py-cpuinfo==9.0.0
19-
pyfakefs==5.10.0
19+
pyfakefs==5.10.2
2020
pygments==2.19.2
2121
pytest==8.4.2
2222
pytest-asyncio==0.23.8
23-
pytest-benchmark==5.1.0
23+
pytest-benchmark==5.2.3
2424
pytest-cov==7.0.0
2525
pytest-mock==3.15.1
2626
pytest-randomly==4.0.1
2727
python-json-logger==2.0.7
2828
sortedcontainers==2.4.0
29-
wrapt==2.0.0
29+
uwsgi==2.0.31
30+
wrapt==2.0.1
3031
zope-event==5.0
3132
zope-interface==7.2
3233

.riot/requirements/7581061.txt renamed to .riot/requirements/27931c8.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.14
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/7581061.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/27931c8.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
gevent==25.9.1
1010
greenlet==3.2.4
1111
httpretty==1.1.4
@@ -16,16 +16,17 @@ opentracing==2.4.0
1616
packaging==25.0
1717
pluggy==1.6.0
1818
py-cpuinfo==9.0.0
19-
pyfakefs==5.10.0
19+
pyfakefs==5.10.2
2020
pygments==2.19.2
2121
pytest==8.4.2
2222
pytest-asyncio==0.23.8
23-
pytest-benchmark==5.1.0
23+
pytest-benchmark==5.2.3
2424
pytest-cov==7.0.0
2525
pytest-mock==3.15.1
2626
pytest-randomly==4.0.1
2727
python-json-logger==2.0.7
2828
sortedcontainers==2.4.0
29+
uwsgi==2.0.31
2930
wrapt==1.17.3
3031
zope-event==5.0
3132
zope-interface==7.2

.riot/requirements/8733595.txt renamed to .riot/requirements/40eb1a8.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/8733595.in
5+
# pip-compile --allow-unsafe --no-annotate --resolver=backtracking .riot/requirements/40eb1a8.in
66
#
77
attrs==25.3.0
88
coverage[toml]==7.6.1
@@ -18,7 +18,7 @@ opentracing==2.4.0
1818
packaging==25.0
1919
pluggy==1.5.0
2020
py-cpuinfo==9.0.0
21-
pyfakefs==5.10.0
21+
pyfakefs==5.10.2
2222
pytest==8.3.5
2323
pytest-asyncio==0.23.8
2424
pytest-benchmark==4.0.0
@@ -29,7 +29,8 @@ python-json-logger==2.0.7
2929
sortedcontainers==2.4.0
3030
tomli==2.3.0
3131
typing-extensions==4.13.2
32-
wrapt==2.0.0
32+
uwsgi==2.0.31
33+
wrapt==2.0.1
3334
zipp==3.20.2
3435
zope-event==5.0
3536
zope-interface==7.2

.riot/requirements/1b6e144.txt renamed to .riot/requirements/4934f63.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1b6e144.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/4934f63.in
66
#
77
attrs==25.4.0
8-
coverage[toml]==7.11.0
8+
coverage[toml]==7.11.3
99
gevent==25.9.1
1010
greenlet==3.2.4
1111
httpretty==1.1.4
@@ -16,17 +16,18 @@ opentracing==2.4.0
1616
packaging==25.0
1717
pluggy==1.6.0
1818
py-cpuinfo==9.0.0
19-
pyfakefs==5.10.0
19+
pyfakefs==5.10.2
2020
pygments==2.19.2
2121
pytest==8.4.2
2222
pytest-asyncio==0.23.8
23-
pytest-benchmark==5.1.0
23+
pytest-benchmark==5.2.3
2424
pytest-cov==7.0.0
2525
pytest-mock==3.15.1
2626
pytest-randomly==4.0.1
2727
python-json-logger==2.0.7
2828
sortedcontainers==2.4.0
29-
wrapt==2.0.0
29+
uwsgi==2.0.31
30+
wrapt==2.0.1
3031
zope-event==5.0
3132
zope-interface==7.2
3233

0 commit comments

Comments
 (0)