File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,12 @@ ARG odoo_version
111111# Install Odoo requirements (use ADD for correct layer caching).
112112# We use requirements from OCB for easier maintenance of older versions.
113113ADD https://raw.githubusercontent.com/OCA/OCB/$odoo_version/requirements.txt /tmp/ocb-requirements.txt
114- RUN pip install --no-cache-dir \
114+ # The sed command is to use the latest version of gevent and greenlet. The
115+ # latest version works with all versions of Odoo that we support here, and the
116+ # oldest pinned in Odoo's requirements.txt don't have wheels, and don't build
117+ # anymore with the latest cython.
118+ RUN sed -i -E "s/^(gevent|greenlet)==.*/\1 /" /tmp/ocb-requirements.txt \
119+ && pip install --no-cache-dir \
115120 -r /tmp/ocb-requirements.txt \
116121 packaging
117122
You can’t perform that action at this time.
0 commit comments