- Mailing Lists
- Contributors
- 14.0 branches
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
14.0 branches
by Stéphane Bidoul - 09:21 - 8 Oct 2020
Follow-Ups
-
Re: 14.0 branches
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.-sbiOn 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:
The version pinnings it self, could be defined in a constraints.txt, so that it is separated from the packag names: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.
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
by Stéphane Bidoul - 10:56 - 15 Oct 2020 -
Re: 14.0 branches
Am 13.10.20 um 10:57 schrieb Daniel Reis:
The version pinnings it self, could be defined in a constraints.txt, so that it is separated from the packag names: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.
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
by md-lists - 01:45 - 14 Oct 2020 -
Re: 14.0 branches
+ 1 for generating oca_dependencies.txt and requirements.txtIn any case, thanks a lot for your work StéphaneOn Tue, 13 Oct 2020 at 09:32, Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote:On Mon, Oct 12, 2020 at 5:32 PM Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote: > I'll see if I can find an easy way to generate oca_dependencies.txt > and requirements.txt. I have been giving some thought to this and I believe it is possible to create a reasonably fast pre-commit hook that generates oca_dependencies.txt and requirements.txt. Roughly, requirements.txt would be generated from the external_dependencies manifest keys in the repo. oca_dependencies.txt would be generated by looking at the website key in manifests of first level dependencies which we find in the url key of wheels (it is supposed to have the form https://github.com/OCA/{repo} and we can enforce if we don't do it yet). There are some devils in the details (like what to do with test-requirements.txt, and what to do when there are conflicting requirements) but that seems manageable at first glance. The result should be identical to manually crafted files and help ensure consistency. Would that work for people who care about those two files ? For the rest, yeah, I guess this thread shows how deeply people care about their project workflows, and that is only normal. I can only repeat that *this should not have any impact on them*. When I have more time I'll answer to some comments that worry about a pip project workflow being broken or something (spoiler: it is not :) Cheers, -sbi
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lorenzo Battistini
https://github.com/eLBati
by Lorenzo Battistini. - 11:06 - 14 Oct 2020 -
Re: 14.0 branches
PS: can you share the command to tray it from github?Hi Nhomar,the way I prefer:pip install -e git+https://github.com/odoo/odoo.git@c107edf7077399c2ffa60b85a291ec3830d8432d#egg=odoo
--Lorenzo Battistini
https://github.com/eLBati
by Lorenzo Battistini. - 11:00 - 14 Oct 2020 -
Re: 14.0 branches
Hi Pedro,in case you can't avoid it, you can pin the version in setup.py file, like the following:On Tue, 13 Oct 2020 at 09:36, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> 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.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lorenzo Battistini
https://github.com/eLBati
by Lorenzo Battistini. - 10:46 - 14 Oct 2020