Skip to content

Commit be8b6e8

Browse files
chore: include legacy-cgi to deps (#101)
<!--- yamllint disable rule:single-title/single-h1 --> # Description webtest is used to validate incoming webhooks in the production Webserver(). Via webtest and webob, we have a transitive dependency on cgi. As of python 3.13 [cgi has been dropped from stdlib](https://docs.python.org/3/deprecations/pending-removal-in-3.13.html). The recommended stopgap is to add an explicit dependency on legacy-cgi, long term webob should be replaced with WSGI or ASGI See: errbotio#1729
1 parent f86b2ad commit be8b6e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"pygments-markdown-lexer==0.1.0.dev39", # sytax coloring to debug md
4242
"dulwich==0.23.1", # python implementation of git
4343
"deepmerge==2.0",
44+
"legacy-cgi==2.6.3; python_version >= '3.12'", # stopgap fix for webtest after cgi dropped from stdlib
4445
]
4546

4647
src_root = os.curdir

0 commit comments

Comments
 (0)