IRC logs of #tryton for Wednesday, 2021-09-22

irc.libera.chat #tryton log beginning Wed Sep 22 12:00:01 AM CEST 2021
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton22:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:56
-!- ChanServ changed mode/#tryton -> +o cedk 22:56
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:46
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:10
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:34
-!- udono(~udono@138-136-067-156.ip-addr.inexio.net) has joined #tryton06:16
-!- rpit(~rpit@2001:470:747a:2a:d888:168c:72e2:a8f5) has joined #tryton06:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:58
-!- ChanServ changed mode/#tryton -> +o cedk 06:58
-!- nicoe(~nicoe@host-82-212-178-227.dynamic.voo.be) has joined #tryton10:09
-!- SISalp(~SISalp@51.sisalp.net) has joined #tryton11:53
SISalphello. Problem with simpleeval :11:53
SISalp  File "/home/sisalpuser/xoe.services/training/trytond/trytond/modules/account/__init__.py", line 11, in <module>11:53
SISalp    from . import move_template11:53
SISalp  File "/home/sisalpuser/xoe.services/training/trytond/trytond/modules/account/move_template.py", line 6, in <module>11:53
SISalp    from simpleeval import simple_eval11:53
SISalp  File "/home/sisalpuser/xoe.services/training/server/lib/python3.9/site-packages/simpleeval.py", line 168, in <module>11:53
SISalp    "int": int, "float": float, "str": unicode}11:53
SISalpNameError: name 'unicode' is not defined11:53
SISalpprobably, you already met this ?11:54
SISalpI use simpleeval==0.8.111:56
SISalpis it correct ?11:56
cedkSISalp: you must use a more recent version which support Python3.911:57
SISalpcedk: I pip install simpleeval and it picks 0.8.111:58
cedkSISalp: see https://discuss.tryton.org/t/wrong-simpleeval-is-installed-while-running-tests-on-gitlab-ci/463311:59
pokoliSISalp: we are experiencing the same behaviour and it get fixed by using "virtualenv!=20.8.0" on pip install scripts12:08
SISalppokoli: indeed it fixes the problem. simpleeval installs as 0.9.10 and trytond is ok.12:23
SISalpthank you12:23
pokoliSISalp: did you have some easy way to reproduce it? We are only reproducing the issue on gitlab CI 12:36
pokolibut the issue is not pressent for example on the tryton CI instance12:37
SISalppokoli : at ubuntu 20.04 system level : pip install --upgrade virtualenv  installs 20.8.0 and in the environement pip install install simpleeval 0.8.1 and 0.12:41
SISalppip install --upgrade virtualenv!=20.8.0 installs virtualenv 20.7.2 which install simpleeval==0.8.112:42
SISalpno which installs simpleeval==0.9.1012:43
pokoliwhich pip version? 12:56
SISalpI had the problem with : added seed packages: pip==21.2.4, setuptools==58.0.4, wheel==0.37.013:21
SISalpon fixed server :     added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.37.013:22
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton21:41

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!