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
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
The text was updated successfully, but these errors were encountered:
Fixes#247.
Django has a runtime dependency on distutils, so adding setuptools as a dependency resolves it.
This has already been resolved upstream [1], but this allows us to keep using the same version of Django for the benchmark.
[1] django/django#14240
The django_template benchmark probably needs to add setuptools as a dependency.
The text was updated successfully, but these errors were encountered: