Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: test-requirements.txt and depending on unreleased modules

by
ClosingAp Open Source Integrators Europe, LDA., Daniel Reis
- 11/11/2025 11:09:33
Thank you Pedro and Stéphane.
Indeed it seems I got it working, as the actual Test build is green, and I see why the unreleased dependencies should be red.

oca_dependencies is mentioned here:
https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#oca-dependencies-txt


Thanks
Daniel

On 11/11/2025 10:02, Stéphane Bidoul wrote:
Hello Daniel,


There is indeed a special CI check that fails when there are unreleased dependencies, to prevent accidentally merging a PR while some if its dependencies are not yet merged. 

oca_dependencies is indeed not used at all by oca-ci. Where is that still mentioned?

> to make a module pip-installable all it needs is to contain the pyproject.toml file, correct?

Yes, that is correct. Although the older method with the setup.py in a side directory is still supported and the one we use by default  until 16.0.

Best regards,

-Stéphane

On Tue, Nov 11, 2025 at 10:42 AM Daniel Reis <notifications@odoo-community.org> wrote:
Hello,

Doing work in in repo A that depends on work in a pull request or branch of repo B.
Trying to get a successful test build for the repo A PR.

It looks like test-requirements.txt is the way, but I haven't been successful to get the syntax right.
Currently there are "Unreleased dependencies" build errors that I don't understand (of course they are unreleased!).

I realize the contributing documentation is out of date: it still mentions oca_dependencies.txt, that I believe is ineffective today, and I couldn0t find helpful guidance there regarding test-dependencies.txt.

I appreciate the help.

Thank you
Daniel

PS: to make a module pip-installable all it needs is to contain the pyproject.toml file, correct?

--
DANIEL REIS
MANAGING PARTNER

>> Schedule time on my calendar.
M: +351 919 991 307
E: dreis@OpenSourceIntegrators.com
A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

[Logo OpenSourceIntegrators.com]

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

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


--
DANIEL REIS
MANAGING PARTNER

>> Schedule time on my calendar.
M: +351 919 991 307
E: dreis@OpenSourceIntegrators.com
A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

[Logo OpenSourceIntegrators.com]


Reference