Contributors mailing list archives
Re: CI Builds now uses requirements from odoo repositoryby
Leonardo Rochael Almeida
On 12 July 2017 at 16:08, Moises Lopez <firstname.lastname@example.org> 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/ 3e8d50754252eSolutionsFor 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.
Vauxoo, Moisés López Calderón