From fd8895f0ae63f179579fc9e2447dfc27b5f53447 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 5 Mar 2024 11:15:11 -0500 Subject: [PATCH 1/2] Fix the django_template benchmark --- .../data-files/benchmarks/bm_django_template/pyproject.toml | 1 + .../data-files/benchmarks/bm_django_template/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml b/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml index 0b66d9d0..e188025d 100644 --- a/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml +++ b/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml @@ -4,6 +4,7 @@ requires-python = ">=3.8" dependencies = [ "pyperf", "django", + "legacy-cgi", ] urls = {repository = "https://github.com/python/pyperformance"} dynamic = ["version"] diff --git a/pyperformance/data-files/benchmarks/bm_django_template/requirements.txt b/pyperformance/data-files/benchmarks/bm_django_template/requirements.txt index 4a3490bf..4b71dc07 100644 --- a/pyperformance/data-files/benchmarks/bm_django_template/requirements.txt +++ b/pyperformance/data-files/benchmarks/bm_django_template/requirements.txt @@ -2,3 +2,4 @@ asgiref==3.3.4 django==3.2.4 pytz==2021.1 sqlparse==0.4.1 +legacy-cgi==2.6 \ No newline at end of file From 83bfb93b9f4fa3f14a1bcc5d518399b22372c5d2 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 5 Mar 2024 12:49:34 -0500 Subject: [PATCH 2/2] Update minimum version --- .../data-files/benchmarks/bm_django_template/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml b/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml index e188025d..19772e54 100644 --- a/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml +++ b/pyperformance/data-files/benchmarks/bm_django_template/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pyperformance_bm_django_template" -requires-python = ">=3.8" +requires-python = ">=3.10" dependencies = [ "pyperf", "django",