Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: 14.0 branches

by
md-lists
- 14/10/2020 11:44:02
Am 13.10.20 um 10:57 schrieb Daniel Reis:
I believe the external_dependencies manifest key supports pinned versions.


On 13/10/2020 08:36, Pedro M. Baeza (Tecnativa) wrote:

> Stéphane, how to pin specific Python libraries versions in this 

> workflow in the generated requirements.txt? We have several places 

> with this requirement.

The version pinnings it self, could be defined in a constraints.txt, so that it is separated from the packag names:
https://pip.pypa.io/en/stable/user_guide/#constraints-files

one could install this as follow:

pip install -r requirements.txt -c constraints.txt

-- 
cheers
Maik Derstappen


derico - web development & consulting
>> Python - Plone - Odoo - Pyramid - Django

Reference