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 #tryton | 22:02 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:56 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:56 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 04:46 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:10 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:34 | |
-!- udono(~udono@138-136-067-156.ip-addr.inexio.net) has joined #tryton | 06:16 | |
-!- rpit(~rpit@2001:470:747a:2a:d888:168c:72e2:a8f5) has joined #tryton | 06:50 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:58 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:58 | |
-!- nicoe(~nicoe@host-82-212-178-227.dynamic.voo.be) has joined #tryton | 10:09 | |
-!- SISalp(~SISalp@51.sisalp.net) has joined #tryton | 11:53 | |
SISalp | hello. 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_template | 11: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_eval | 11: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 |
SISalp | NameError: name 'unicode' is not defined | 11:53 |
SISalp | probably, you already met this ? | 11:54 |
SISalp | I use simpleeval==0.8.1 | 11:56 |
SISalp | is it correct ? | 11:56 |
cedk | SISalp: you must use a more recent version which support Python3.9 | 11:57 |
SISalp | cedk: I pip install simpleeval and it picks 0.8.1 | 11:58 |
cedk | SISalp: see https://discuss.tryton.org/t/wrong-simpleeval-is-installed-while-running-tests-on-gitlab-ci/4633 | 11:59 |
pokoli | SISalp: we are experiencing the same behaviour and it get fixed by using "virtualenv!=20.8.0" on pip install scripts | 12:08 |
SISalp | pokoli: indeed it fixes the problem. simpleeval installs as 0.9.10 and trytond is ok. | 12:23 |
SISalp | thank you | 12:23 |
pokoli | SISalp: did you have some easy way to reproduce it? We are only reproducing the issue on gitlab CI | 12:36 |
pokoli | but the issue is not pressent for example on the tryton CI instance | 12:37 |
SISalp | pokoli : 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 |
SISalp | pip install --upgrade virtualenv!=20.8.0 installs virtualenv 20.7.2 which install simpleeval==0.8.1 | 12:42 |
SISalp | no which installs simpleeval==0.9.10 | 12:43 |
pokoli | which pip version? | 12:56 |
SISalp | I had the problem with : added seed packages: pip==21.2.4, setuptools==58.0.4, wheel==0.37.0 | 13:21 |
SISalp | on fixed server : added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.37.0 | 13:22 |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 21:41 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!