Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: CI Builds now uses requirements from odoo repository
by
Leonardo Rochael Almeida
By the way,
Adding `simplejson` back to `requirements.txt` is also unnecessary if you do a global replace:
- `simplejson` -> `json`
- `simplejson.JSONDecodeError` -> `ValueError`
Cheers,
Leo
On 12 July 2017 at 16:21, Leonardo Rochael Almeida <leorochael@gmail.com> wrote:
Hi,On 12 July 2017 at 16:08, Moises Lopez <moylop260@vauxoo.com> wrote:Before:- We had a custom requirements.txt from OCA/maintainer-quality-tools (MQT) repository.Now:- We deleted the previous custom requirements.txt from MQT- We are using the original odoo's requirements.txtPR:New possible errors[...]2. odoo 10.0 deleted packages.- Example "unittest2"- PR related: https://github.com/OCA/connector/commit/3e8d5075425 2e SolutionsFor 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,Leo
Reference
-
CI Builds now uses requirements from odoo repository
byVauxoo, Moisés López Calderón-
Re: CI Builds now uses requirements from odoo repository
byLeonardo Rochael Almeida -
Re: CI Builds now uses requirements from odoo repository
bySYLEAM SARL, Sylvain Garancher -
Re: CI Builds now uses requirements from odoo repository
byLeonardo Rochael Almeida -
Re: CI Builds now uses requirements from odoo repository
bySYLEAM SARL, Sylvain Garancher
-