Add CGI module removed in Python 3.13

This commit is contained in:
Stefan Bethke 2026-05-23 21:09:20 +02:00
commit d5b9d9d1a3
2 changed files with 14 additions and 1 deletions

14
poetry.lock generated
View file

@ -12,7 +12,19 @@ files = [
{file = "bottle-0.12.25.tar.gz", hash = "sha256:e1a9c94970ae6d710b3fb4526294dfeb86f2cb4a81eff3a4b98dc40fb0e5e021"}, {file = "bottle-0.12.25.tar.gz", hash = "sha256:e1a9c94970ae6d710b3fb4526294dfeb86f2cb4a81eff3a4b98dc40fb0e5e021"},
] ]
[[package]]
name = "legacy-cgi"
version = "2.6.4"
description = "Fork of the standard library cgi and cgitb modules removed in Python 3.13"
optional = false
python-versions = ">=3.8"
groups = ["main"]
files = [
{file = "legacy_cgi-2.6.4-py3-none-any.whl", hash = "sha256:7e235ce58bf1e25d1fc9b2d299015e4e2cd37305eccafec1e6bac3fc04b878cd"},
{file = "legacy_cgi-2.6.4.tar.gz", hash = "sha256:abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577"},
]
[metadata] [metadata]
lock-version = "2.1" lock-version = "2.1"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "a526e61db0bf9cc49e967ff677da22b371ff4f5116a32e9a19280c5321bf9ccb" content-hash = "19caa4a129f9c7cc8e35e26de5edb2eb372f191ab9dfa0c5cc57b75dc04a8d9a"

View file

@ -8,6 +8,7 @@ package-mode = false
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.9"
bottle = "^0.12.21" bottle = "^0.12.21"
legacy-cgi = "^2.6.4"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]