#35187: Django 5.0+ doesn't work with pyc files only ---------------------------------+-------------------------------------- Reporter: Marcus Hoffmann | Owner: nobody Type: Bug | Status: new Component: Core (Other) | Version: 5.0 Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------------------------- Changes (by Natalia Bidart):
* component: Uncategorized => Core (Other) Comment: Hello Marcus, thank you for your report and for helping making Django better. I'm trying to triage this bug properly but I would like to understand a few things before making any further decision: * In the CPython thread, while they say that source-les imports are supported, there seems to be a general pushback around it ("we historically discourage them unless you have a pressing use-case", ".pyc- only imports are CPython-specific", "that doesn't mean any 3rd party packages or other tools support a source-less mode of operation"). You affirmed that "this is an officially supported way of running cpython", where do you read that exactly? * While I can see a value and valid use cases for running Python in embedded systems, I'm not sure there are use cases for running a Django web server in an embedded system. Would you have examples for wanting to run Django in a "minified" rootfs? I'm trying to determine whether this report pertains to a specific need arising from a niche use case or if it applies to the broader ecosystem. Django is a framework designed to offer robust and accurate solutions for common scenarios. -- Ticket URL: <https://code.djangoproject.com/ticket/35187#comment:2> 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/0107018da2c28da9-a357358e-039a-44c1-a7be-74af067f4e5c-000000%40eu-central-1.amazonses.com.