Skip to content

django_template benchmark fails on main due to lack of distutils #247

Closed

Description

@mdboom

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

  1. added a commit that references this issue on Nov 28, 2022
    fd22d5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions