Issue930

Title test translator and driver code under Python 2 and 3
Priority wish Status resolved
Superseder Nosy List jendrik, malte, silvan
Assigned To jendrik Keywords
Optional summary

Created on 2019-10-03.14:12:17 by jendrik, last changed by jendrik.

Messages
msg9013 (view) Author: jendrik Date: 2019-10-16.14:03:42
I updated the dev docs and merged the branch.
msg8988 (view) Author: malte Date: 2019-10-05.17:03:18
Looks OK. I assume the dev docs need to be updated with the new depedencies and setup steps. If this saves potentially large amounts of stuff in the misc/.tox directory that hg status will not show, then this also needs to be clearly stated, along with explaining the necessary clean-up steps.
msg8987 (view) Author: jendrik Date: 2019-10-04.09:10:03
I made a pull request for this at 
https://bitbucket.org/jendrikseipp/downward/pull-requests/138 .
msg8986 (view) Author: malte Date: 2019-10-03.14:42:25
Sounds good.
msg8985 (view) Author: jendrik Date: 2019-10-03.14:41:22
That's a valid concern. I think testing multiple Python 3 versions is useful. Also, switching to tox allows us to use the same version of flake8 and pytest everywhere and developers don't need to install these packages manually and globally. I'll give this a try and will abandon it if it turns out too complicated.
msg8983 (view) Author: malte Date: 2019-10-03.14:15:01
Is it worth bothering with extra work to improve the support for multiple Python versions at the "meta level" at this point?

With all the high-profile projects that drop support for Python 2 on January 1, I expect that it will soon become a lot more viable for us to drop Python 2 support too. Would this work still be useful then, e.g. to test multiple versions of Python 3?
msg8982 (view) Author: jendrik Date: 2019-10-03.14:12:17
Currently, we test the translator and the driver only under Python 2. I plan to use tox for testing multiple Python versions.
History
Date User Action Args
2019-10-16 14:03:43jendriksetstatus: chatting -> resolved
messages: + msg9013
2019-10-05 17:03:18maltesetmessages: + msg8988
2019-10-04 09:10:03jendriksetmessages: + msg8987
2019-10-03 14:42:25maltesetmessages: + msg8986
2019-10-03 14:41:22jendriksetmessages: + msg8985
2019-10-03 14:23:19silvansetnosy: + silvan
2019-10-03 14:15:01maltesetstatus: unread -> chatting
messages: + msg8983
2019-10-03 14:12:17jendrikcreate