Skip to content

Commit ba322d3

Browse files
committed
[ IMP] no instalar flanker xq causa problemas con python 3.10 al validar correos
Odoo verifica si esta instalado y lo usa para validar correos(ver https://github.com/odoo/odoo/blob/16.0/addons/mail/tools/mail_validation.py#L11-L21) pero la libreria no ha sido actualizada hace mucho tiempo, y hay varios PR sin merge mailgun/flanker#254 mailgun/flanker#258
1 parent 17c8358 commit ba322d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

16.0.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ RUN build_deps=" \
123123
click-odoo-contrib \
124124
debugpy \
125125
pydevd-odoo \
126-
flanker[validator] \
126+
#flanker[validator] \
127127
geoip2 \
128128
"git-aggregator<3.0.0" \
129129
inotify \
@@ -139,7 +139,7 @@ RUN build_deps=" \
139139
&& (python3 -m compileall -q /usr/local/lib/python3.10/ || true) \
140140
# generate flanker cached tables during install when /usr/local/lib/ is still intended to be written to
141141
# https://github.com/Tecnativa/doodba/issues/486
142-
&& python3 -c 'from flanker.addresslib import address' >/dev/null 2>&1 \
142+
#&& python3 -c 'from flanker.addresslib import address' >/dev/null 2>&1 \
143143
&& apt-get purge -yqq $build_deps \
144144
&& apt-get autopurge -yqq \
145145
&& rm -Rf /var/lib/apt/lists/* /tmp/*

0 commit comments

Comments
 (0)