-
-
Notifications
You must be signed in to change notification settings - Fork 633
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
[16.0] python library dependency conflict 'pyparsing' (social/server-ux) #1316
Comments
I have the same problem on odoo.sh. Specifically, these two seem to be in conflict: social/mail_drop_target server-ux/base_binary_url_import |
This could fix the issue... ... or mail_drop_target needs to remove the dependency of extract_msg |
@CRogos unfortunately that won't solve the issue. By odoo.sh logs it seems that pyrfc6266 1.0.0 wants a pyparsing version greater of the ones wanted by oletools. This is very annoying, as it is blocking social repository deployment |
@gbtechnology from my point of view, we need a new version of oletools, which depends on pypasing > 3.0.0 which is currently not available. But the linked PR would archive this. The most annoying thing is, that I do not need the module which adds the oletools dependency. But because all dependencies are automatically added to the requirements.txt and all requirements.txt are automatically aggregated/installed by odoo.sh this dependency causes the block. When adding OCA repositories as submodules to odoo.sh projects, this can also cause updates of libraries which might not be compatible with some odoo core functions. (recently happened to me with lxml and also pikepdf) Currently I see only the option to fork the repository and create a new branch, that remove the requirements.txt or at least the unneeded libs. there is also a good thread on these kind of topic here: OCA/queue#530 |
And we couldn't just remove the dependency pyrfc6266? is only used for the base_binary_url_import module and only in one place a single function to extract a file name from http response, we could try to replicate that behavior without using the module, right? |
yes also a good option... for both modules/libraries. |
@CRogos @gbtechnology |
I don't think adding a copy of the library is a good solution. |
A new version oletools 0.60.2 is now available which solves the conflict. |
Module
mail_drop_target
#1217
Describe the bug
I am running Odoo in odoo.sh and since the PR above, I get a dependency version conflict which is originally caused by extract_msg . Does anyone have similar issues or an idea how so solve this?
To Reproduce
I am not using this module, but having extract_msg in the requirements.txt is enough to get startup errors.
The text was updated successfully, but these errors were encountered: