Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to use pypi.org packages when performing tests with Odoo and OCB? #84

Open
manuel-florido opened this issue Nov 15, 2024 · 0 comments
Labels
question Further information is requested

Comments

@manuel-florido
Copy link

Hello,

We currently use this template for our repositories, but we have realized that by requiring dependencies on modules not uploaded in OCA, it reports an error in the tests.

Is there a way for the tests to check if the requested package exists on Pypi.org?

It is the platform on which we are uploading our own modules.

Error:

+ pip install -r test-requirements.txt -c test-constraints.txt
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://wheelhouse.odoo-community.org/oca-simple-and-pypi
ERROR: Could not find a version that satisfies the requirement odoo-addon-module<17.1dev,>=17.0dev (from versions: none)
ERROR: No matching distribution found for odoo-addon-module<17.1dev,>=17.0dev

Thank you!

@manuel-florido manuel-florido added the bug Something isn't working label Nov 15, 2024
@sbidoul sbidoul transferred this issue from OCA/oca-addons-repo-template Nov 15, 2024
@sbidoul sbidoul added question Further information is requested and removed bug Something isn't working labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants