[RTEMS Project] #3537: RSB and RTEMS Tools Support for python2 and python3
RTEMS trac
trac at rtems.org
Thu Oct 4 06:30:58 UTC 2018
#3537: RSB and RTEMS Tools Support for python2 and python3
-------------------------+--------------------------
Reporter: Chris Johns | Owner: Chris Johns
Type: defect | Status: assigned
Priority: high | Milestone: 5.1
Component: tool | Version: 5
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-------------------------+--------------------------
Comment (by Chris Johns):
Replying to [comment:1 Sebastian Huber]:
> Do we have a host platform without python3 support? If not, then I would
simply use python3 and stop using python/python2.
In time we will need to switch to `python3` however I am not in a position
to go over all the code and do this. I think it also makes things
difficult or at least more complicated for users with established
environment to get such a hard error. We should consider a softer landing
if this is possible.
I am considering moving to a shell script that checks for `python2` then
`python3` and if not found outputs a user friendly error message. The
existing code is moved into the python directories run from the python
command line. Once we are happy with `python3` we can switch the order we
check.
A script would let us add an environment variable we could use to force a
version to test with without needing symlinks etc.
--
Ticket URL: <http://devel.rtems.org/ticket/3537#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list