Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: problem building runbot

by
Open for Small Business, Graeme Gellatly
- 02/09/2020 07:46:46
Oh I actually had this error on a normal build. Not being a technical wiz or caring about 20 secons of extra buold time I just added python-ldap to my apt dependencies to get the needed things  Then it installed fine, including the pyldap.

On Wed, 2 Sep 2020, 4:47 am Stéphane Bidoul, <stephane.bidoul@acsone.eu> wrote:
This setuptools bug seems relevant: https://github.com/pypa/setuptools/issues/2357

We can try if this workaround fixes the problem: https://github.com/OCA/maintainer-quality-tools/pull/675

On Tue, Sep 1, 2020 at 5:37 PM Rémi CAZENAVE - Le Filament <remi@le-filament.com> wrote:

Dear contributors,

I am not sure if this is related but I am struggling for a few hours with an issue related to setuptools version 50.0.0 since they are overriding stdlib (https://setuptools.readthedocs.io/en/latest/history.html) and they recommend to not use deprecated distutils anymore (https://setuptools.readthedocs.io/en/latest/distutils-legacy.html).

distutils.version are still in use in ir_action_reports.py (https://github.com/odoo/odoo/blob/master/odoo/addons/base/models/ir_actions_report.py) causing my latest Docker Odoo not to start.

So far I have been able to revert to setuptools installed by Debian Stretch (33.1.1), however I am not sure this is the best way (setuptools in latest version being installed when running pip install requirements.txt, because required by pyldap and reportlab).

Let me know if some of you encounter a similar issue ?

Thank you,

Best Regards,


Le Filament
Rémi CAZENAVE
------
SCOP LE FILAMENT
06.87.23.26.04
remi@le-filament.com
Le 01/09/2020 à 17:02, Mario Riva a écrit :
Dear Alexandre,



The crash happens when trying build the module pyldap == 2.4.28  which
is a dependency of core Odoo 12.0. I'm puzzled, but I can't help much
more than this today.

 

Thanks for your help!

Mario

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference