#28358: LazyObject defines attribute that don't exist on wrapped object -------------------------------------+------------------------------------- Reporter: Andrey Fedoseev | Owner: Theofilos | Alexiou Type: Bug | Status: closed Component: Utilities | Version: 1.11 Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Dylan Young): Replicated on 4.1a1 {{{ File "django-csp/.tox/pypy3.9-4.1.x/lib/pypy3.9/site- packages/django/contrib/auth/admin.py", line 29, in <module> class GroupAdmin(admin.ModelAdmin): File "django-csp/.tox/pypy3.9-4.1.x/lib/pypy3.9/site- packages/django/contrib/admin/decorators.py", line 102, in _model_admin_wrapper raise ValueError("site must subclass AdminSite") ValueError: site must subclass AdminSite }}} I was able to narrow this down to some kind of interaction with coverage or pytest-cov (see https://foss.heptapod.net/pypy/pypy/-/issues/3751). There's a larger traceback on that issue as well. -- Ticket URL: <https://code.djangoproject.com/ticket/28358#comment:18> 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/01070180f208230e-ab2b2104-7db6-4aaa-b909-0d3d8c9aa8ab-000000%40eu-central-1.amazonses.com.