8000 Fix the django_template benchmark (#329) · python/pyperformance@1676592 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1676592

Browse files
authored
Fix the django_template benchmark (#329)
This is broken by the removal of the cgi module in Python 3.13. This adds the legacy-cgi PyPI library as a dependency as a workaround.
1 parent 79f80a4 commit 1676592

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[project]
22
name = "pyperformance_bm_django_template"
3-
requires-python = ">=3.8"
3+
requires-python = ">=3.10"
44
dependencies = [
55
"pyperf",
66
"django",
7+
"legacy-cgi",
78
]
89
urls = {repository = "https://github.com/python/pyperformance"}
910
dynamic = ["version"]

pyperformance/data-files/benchmarks/bm_django_template/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ asgiref==3.3.4
22
django==3.2.4
33
pytz==2021.1
44
sqlparse==0.4.1
5+
legacy-cgi==2.6

0 commit comments

Comments
 (0)
0