Auto adapt to change of main distribution name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenERP buildout recipe |
Medium
|
Unassigned |
Bug Description
At some point, the name of the main distribution might change from openerp to odoo or even something else in the future.
The recipe is not ready for that yet.
See for instance this pull request : https:/
Since the recipe instrospects setup.py, it can read the name from it, and use it in its internal requirement (see merge_requireme
Related branches
Georges Racinet (gracinet) wrote : | #1 |
Changed in anybox.recipe.openerp: | |
importance: | Critical → Medium |
status: | New → Confirmed |
Georges Racinet (gracinet) wrote : | #2 |
Can wait a bit
Changed in anybox.recipe.openerp: | |
milestone: | 1.8.5 → 1.8.6 |
Georges Racinet (gracinet) wrote : | #3 |
It happened : https:/
Surprisingly, the buildout I'm using to test does work. The requirements used internally are wrong anyway (should have 'odoo', not 'openerp') and I'm fixing them right now.
Georges Racinet (gracinet) wrote : | #4 |
It breaks at least the offline mode:
Couldn't find index page for 'openerp' (maybe misspelled?)
anybox.
and can't install one in offline (no-install) mode.
While:
Installing odoo.
Error: We don't have a distribution for openerp
and can't install one in offline (no-install) mode.
this "installing odoo" is based on the part name
Georges Racinet (gracinet) wrote : | #5 |
The recipe should now be insensitive with respect to the project name in Odoo's setup.py
Changed in anybox.recipe.openerp: | |
status: | Confirmed → Fix Committed |
Georges Racinet (gracinet) wrote : | #6 |
Another symptom (seen on our buildbot) would have been to fail with:
Installing openerp 8.0
Caused installation of a distribution:
odoo 8.0
with a different project name.
Got None.
While:
Updating odoo.
Error: There is a version conflict.
We already have: odoo 8.0
Actually it'll be critical the day the name changes, but that's not today.