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
[FIX] packaging: avoid jinja2 asyncsupport in py2exe #32913
Conversation
I think that it should fix the build problem. So the compiled exe should be able to run without the assyncsupport. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, but I assume we'll want to revert this change after 11.0? This should perhaps be indicated in a comment in the code and in the commit message, so it is indeed discarded during forward-ports.
As 11.0 does not use py2exe, I already removed the py2exe code here : 055e1b8 |
Since 78ba90d, when building the windows package, py2exe fails to compiles jinja2 asyncsupport module. Even tough jinja detects the environement, py2exe tries to compile the async part. The problem comes from the fact that async keyword was introduced in python 3 and we use py2exe with python 2.7. With this commit the async part of jinja is execluded from py2exe.
4074f65
to
4ed07fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since 78ba90d, when building the windows package, py2exe fails to compiles jinja2 asyncsupport module. Even tough jinja detects the environement, py2exe tries to compile the async part. The problem comes from the fact that async keyword was introduced in python 3 and we use py2exe with python 2.7. With this commit the async part of jinja is execluded from py2exe. closes #32913 Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Staging failed: ci/runbot on 31bc88f82275ecb1519bacf9f2fdd432e7ebb9b8 (view more at http://runbot.odoo.com/runbot/build/507469) |
@robodoo retry |
Merged, thanks! |
Since 78ba90d, when building the windows package, py2exe fails to
compile jinja2 asyncsupport module. Even tough jinja detects the
environement, py2exe tries to compile the async part. The problem comes
from the fact that async keyword was introduced in python 3 and we use
py2exe with python 2.7.
With this commit the async part of jinja is execluded from py2exe.