Add babel to requires.txt

Bug #1014066 reported by David Mills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
Undecided
Unassigned

Bug Description

Hello,

Would it be possible to add babel to the requires.txt, thus making it available to OpenERP's setup.py before it's invoked by 'install_requires'.

This removes the need to install babel seperatly using pip, and allows better integration with automated deployments and buildbots.

Thank you.

David

Related branches

Revision history for this message
Georges Racinet (gracinet) wrote :

Thank you for the report.

We have investigated several possibilities already, including putting babel in the requirements of the recipe itself, but things aren't that easy in

OpenERP should not in the first place import babel from the setup.py (reported to them).
Anyway, we have another idea in mind that could alleviate this need, and will keep you posted here.

Out of curiosity, and since you speak of buildbot, are you using anybox.buildbot.openerp as well ?

Revision history for this message
Christophe Combelles (ccomb) wrote :

I think the "import babel" bug was actually not reported, but just mentionned on the ML. I've created a bug report for it:
https://bugs.launchpad.net/openobject-server/+bug/1017120

Changed in anybox.recipe.openerp:
status: New → Fix Committed
Revision history for this message
Georges Racinet (gracinet) wrote :

With revision 132, the recipes can explicitely install some requirements before inspection of openerp's setup.py (``recipe_requirements`` attribute). In case of the ServerRecipe, this is used for Babel.
This will be released with version 0.16

I've had good results in a virtualenv, but nothing beats real-life testing. Could you be so kind to give it a try ?

For this simply grab the recipe from launchpad :

  bzr branch lp:anybox.recipe.openerp

remove anybox.recipe.openerp if present from [versions] and add in buildout.cfg, in [buildout] section:

  develop = /path/to/your/anybox.recipe.openerp

Thank you

Revision history for this message
Georges Racinet (gracinet) wrote :

Part of 0.16

Changed in anybox.recipe.openerp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.