[all] Removing Babel from requirements.txt

Dmitry Tantsur dtantsur at redhat.com
Fri Apr 17 13:35:51 UTC 2020

Hi folks,

Many of the projects have [1] Babel in requirements.txt. I'm not sure why
it was needed initially, but now Babel is only used in the translation
infrastructure to manage the catalogs. Particularly, it's not imported in
runtime by anything (oslo.i18n has recently removed [2] its usage). The
problem is, Babel weighs nearly 30MiB (estimated on a venv), making it
probably the heaviest dependency we have.

According to amotoki, we don't need Babel anywhere in the requirements,
since the translation infrastructure installs it explicitly [3][4]. Sphinx
has a requirement on Babel, so doc and release note builds will be fine as
well. I suggest that all projects remove an explicit requirement on Babel

I've started proposing changes [5] to implement it for repositories that
are used by ironic projects (since it's my immediate area of interest). I'd
appreciate help with the others.


[2] https://review.opendev.org/720550
[5] https://review.opendev.org/#/q/topic:no-babel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200417/b7bbca5e/attachment.html>

More information about the openstack-discuss mailing list