[Django] #35663: Pip install Django takes ~0.5 GB

10 views
Skip to first unread message

Django

unread,
Aug 8, 2024, 10:25:03 PM8/8/24
to django-...@googlegroups.com
#35663: Pip install Django takes ~0.5 GB
-------------------------------------+-------------------------------------
Reporter: Leandro de Souza | Type:
| Uncategorized
Status: new | Component: Packaging
Version: 4.2 | 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
-------------------------------------+-------------------------------------
Hey there!
While working on a new PC and suffering with lack of storage size I
noticed that after installing Django on my virtual environment
approximately 400-500MB of disk space is being used by the `django`
package, I was curious to find out what was being the culprit on it, and
it turns out most of the disk usage inside the `django` package is due to,
translations, from several languages. On a specific project that will be
only used on my country, I won't need any of those files and they're just
taking a lot of precious disk space.
Would it be nice if we could opt-in for the translations since they take a
lot of disk space.

Cheers
--
Ticket URL: <https://code.djangoproject.com/ticket/35663>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 9, 2024, 2:11:57 AM8/9/24
to django-...@googlegroups.com
#35663: Pip install Django takes ~0.5 GB
----------------------------------+--------------------------------------
Reporter: Leandro de Souza | Owner: (none)
Type: New feature | Status: closed
Component: Packaging | Version: 4.2
Severity: Normal | Resolution: wontfix
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 Sarah Boyce):

* resolution: => wontfix
* status: new => closed
* type: Uncategorized => New feature

Comment:

It's an interesting idea. Being able to do something `pip install
Django[en,es,de]` would be cool but I think it's not backwards compatible
- I think we would need `Django` to install all languages by default

As this is a request for new functionality, the recommended path forward
is to propose and discuss the request with the community and gain
consensus. To do that, please consider starting a new conversation on the
[https://forum.djangoproject.com/c/internals/5 Django Forum], where you'll
reach a wider audience and likely get extra feedback.

If there is a community agreement for the feature request, which also has
deemed it to be feasible given Django's backwards compatibility
constraints, you are welcome to come back to the ticket and point to the
forum topic, so we can then re-open it. For more details, please see
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
--
Ticket URL: <https://code.djangoproject.com/ticket/35663#comment:1>
Reply all
Reply to author
Forward
0 new messages