anoopcs | Recently we started seeing "ModuleNotFoundError: No module named 'dataclasses'" while running `jenkins-jobs test jobs` | 06:39 |
---|---|---|
anoopcs | https://termbin.com/c29i5 | 06:40 |
anoopcs | Is that a new requirement? | 06:41 |
vsevolod_ | anoopcs: dataclasses were added to python from version 3.7 | 06:43 |
vsevolod_ | jjb currently support python versions 3.8, 3.9 and 3.10 | 06:43 |
anoopcs | Ok. | 06:43 |
anoopcs | Isn't that automatically enforced during installation? | 06:44 |
vsevolod_ | I suppose it is not | 06:44 |
vsevolod_ | That is not very good, I agree | 06:45 |
anoopcs | We normally install python3-pip and then do `pip3 install jenkins-job-builder` | 06:45 |
vsevolod_ | Yep. All others do the same, I think. | 06:46 |
anoopcs | I'm not a python expert but how difficult it is to add such a version dependency? Is that something being worked on? | 06:47 |
anoopcs | Just asking.. | 06:47 |
anoopcs | I can install minimum required version and get on with it | 06:48 |
vsevolod_ | I have created a task for this: https://storyboard.openstack.org/#!/story/2010716 | 06:49 |
vsevolod_ | But it won't install python for you - it will just fail on pip install | 06:49 |
vsevolod_ | You will need to install proper python version by yourself anyway | 06:49 |
anoopcs | Sure, thanks. | 06:50 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!