Contributors mailing list archives

Browse archives


Re: CI Builds now uses requirements from odoo repository

SYLEAM SARL, Sylvain Garancher
- 12/07/2017 23:19:29
For the record, the issue with mock on the report-print-send repo was a bad use of mock 1.0.1 (which seems to say that a method has been called when this is not the case...).
This PR fixes the unit tests :


2017-07-12 21:38 GMT+02:00 Leonardo Rochael Almeida <>:

On 12 July 2017 at 16:08, Moises Lopez <> wrote:
 - We had a custom requirements.txt from OCA/maintainer-quality-tools (MQT) repository.

 - We deleted the previous custom requirements.txt from MQT
 - We are using the original odoo's requirements.txt


New possible errors
2. odoo 10.0 deleted packages.
  - Example "unittest2"

For both cases the fix is adds explicitly the package and version to requirements.txt root file of your project.

Please, for the unittest2  case, do not re-add the file to `requirements.txt`. Instead simply replace all references to `unittest2` to `unitest` in your addon.

`unittest2` is a backport of `unittest` from Python 2.7 back to earlier versions of Python. There is no reason to use it.

Best regards,


Post to:

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à
l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer
l'intégrité de ce message, SYLEAM décline toute responsabilité au titre de ce
message, dans l'hypothèse où il aurait été modifié.

This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except after formal approval. The internet can not guarantee the integrity of
this message. SYLEAM cannot therefore be liable for the message if modified.