#35418: ValueError: site must subclass AdminSite -----------------------------------------+------------------------ Reporter: Lily Foote | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: 5.0 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -----------------------------------------+------------------------ In https://code.djangoproject.com/ticket/28358#comment:13 it was reported that running tests with Django, PyPy and Coverage would fail with a {{{ValueError: site must subclass AdminSite}}} exception. This can also be triggered on CPython when running Coverage in pure python mode. There are upstream tickets for [https://github.com/nedbat/coveragepy/issues/1382 Coverage], [https://github.com/pypy/pypy/issues/3750 PyPy] and [https://github.com/python/cpython/issues/98148 CPython], but these are not seeing much progress. A small change to Django to workaround this was proposed in https://code.djangoproject.com/ticket/28358#comment:21, but this never landed: https://github.com/django/django/pull/16541
I think we should land the workaround in Django so this isn't an issue even if upstream never finds a fix. -- Ticket URL: <https://code.djangoproject.com/ticket/35418> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018f2fd02b2f-49689289-66c1-4bc8-9530-b260f89a0f8b-000000%40eu-central-1.amazonses.com.