You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
django_template benchmark fails on main due to lack of distutils #247
The django_template benchmark probably needs to add setuptools as a dependency.
# /home/runner/work/ideas/ideas/venv/cpython3.12-714fa4245ae0-compat-07e19f9c3993/bin/python -u /home/runner/.local/lib/python3.8/site-packages/pyperformance/data-files/benchmarks/bm_django_template/run_benchmark.py --output /tmp/tmpie4ikqo9 --inherit-environ PYPERFORMANCE_RUNID
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.8/site-packages/pyperformance/data-files/benchmarks/bm_django_template/run_benchmark.py", line 8, in <module>
import django.conf
File "/home/runner/work/ideas/ideas/venv/cpython3.12-714fa4245ae0-compat-07e19f9c3993/lib/python3.12/site-packages/django/__init__.py", line 1, in <module>
from django.utils.version import get_version
File "/home/runner/work/ideas/ideas/venv/cpython3.12-714fa4245ae0-compat-07e19f9c3993/lib/python3.12/site-packages/django/utils/version.py", line 6, in <module>
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
Command failed with exit code 1
ERROR: Benchmark django_template failed: Benchmark died
Activity
Fix the django_template benchmark on cpython main (gh-248)