Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: 14.0 branches

by
Acsone SA/NV, Stéphane Bidoul
- 15/10/2020 22:55:09
Ah, funny. I just stumbled upon a forgotten PR of mine to generate requirements.txt.
Looks like another version of me had anticipated the discussion, and then forgotten about it :)

I'll see if that works and add support for generating oca_dependencies.txt as soon as possible.

I take the opportunity to say thank you to all those who expressed support for the work done on OCA infrastructure.
And I myself say a huge thank you to all those who contribute to improve it and keep it humming.

-sbi



On Wed, Oct 14, 2020 at 1:47 PM Maik Derstappen <md-lists@derico.de> wrote:
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

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference