Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: CI Builds now uses requirements from odoo repository
Re: CI Builds now uses requirements from odoo repository
Re: CI Builds now uses requirements from odoo repository
by
Leonardo Rochael Almeida
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/ 3e8d50754252e 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
-