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

Drop PYTHONOPTIMIZE=2 hacks and upgrade Werkzeug #134

Merged
merged 2 commits into from
Apr 10, 2018
Merged

Conversation

yajo
Copy link
Contributor

@yajo yajo commented Apr 6, 2018

Since Werkzeug's version is hardcoded to a lower one in every Odoo supported version and fork, the easiest patch is to install it as odoo user, which will take precedence over the version installed by automated tools.

Took the chance to use $PIP_NO_CACHE_DIR instead of adding --no-cache-dir everywhere.

Related to #132 and pypa/pip#2897 (comment), fixes #21, fixes #19.

@yajo yajo self-assigned this Apr 6, 2018
@yajo yajo force-pushed the master-werkzeug branch 2 times, most recently from c2883e5 to 8cea411 Compare April 9, 2018 09:15
Since Werkzeug's version is hardcoded to a lower one in every Odoo supported version and fork, the easiest patch is to install it as odoo user, which will take precedence over the version installed by automated tools.

Took the chance to use `$PIP_NO_CACHE_DIR=0` as explained in pypa/pip#2897 (comment) instead of adding `--no-cache-dir` everywhere.

Fix #19
@yajo yajo force-pushed the master-werkzeug branch from 8cea411 to 58a77ab Compare April 9, 2018 11:36
@yajo yajo merged commit 7da1c73 into master Apr 10, 2018
@yajo yajo deleted the master-werkzeug branch April 10, 2018 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant