-
Notifications
You must be signed in to change notification settings - Fork 14
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
Installing addons using hatch breaks Odoo installation #17
Comments
I released a fix for #12. Can you try again using https://github.com/acsone/hatch-odoo/blob/main/tests/data/project6/pyproject.toml as a template for your pyproject.toml? If it persists, can you show me the result of |
Thank you very much @sbidoul ! Here is the output if the command you mentioned:
|
Can you print You may have more than one odoo directory in sys.path that contain a |
Here is the output:
Look like |
Hm you have odoo in site-packages although you installed odoo in editable mode. That's not normal. What's in there? |
Yup, really weird...
|
Wow!
|
That's normal. I suppose queue_job is a dependency (the only one?) of the addons you installed with hatch-odoo. The question is: where did your Odoo install go? |
Ok, I found the cause. You are hitting an Odoo / setuptools compatibility issue. If you transform your odoo installation command to |
Great! Thank you very much @sbidoul 👍 |
Not sure is this because of #12 because I have applied some patches from there however the issue still persists.
Steps to reproduce
Build image
Install Odoo from source in venv using git
Build is completed successfully with no issues.
Run container
Run container using docker-compose.yml
Expected behaviour
Current behaviour
Notes
Same image runs fine if extra addons are not installed:
Steps to reproduce
hatch-odoo
Result
Here are all the files used for build.
The text was updated successfully, but these errors were encountered: