[tbot] Release 0.8.1

Harald Seiler hws at denx.de
Tue Mar 10 10:04:08 CET 2020


Hello Stefano,

On Mon, 2020-03-09 at 20:47 +0100, Stefano Babic wrote:
> Hi Harald,
> 
> On 06/03/20 15:56, Harald Seiler wrote:
> > Hello!
> > 
> > I'm releasing tbot 0.8.1, to flush all the changes that have accumulated
> > in the last months.  I have a few big new features waiting to be added
> > (interactive commands and a good U-Boot test/py integration) but
> > I wanted a release before merging them.
> > 
> > Most changes were bug fixes and small features.  A full overview is in
> > the changelog [1].  Docs are on https://tbot.tools/ and available in PDF
> > form as well [2].
> > 
> > Additionally, I added an empty `tbot_contrib` module.  This is meant to
> > be a home for testcases that don't really belong into tbot core, but are
> > still useful for a lot of people and thus should be distributed
> > alongside tbot.  Feel free to send patches for any existing code you
> > have which you think would fit in!
> > 
> > Because of this new module, if you have been using the `develop`
> > installation of tbot, you need to reinstall using
> > 
> >     pip3 uninstall tbot
> >     python3 setup.py develop --user
> > 
> > otherwise, just update as usual, using
> > 
> >     git pull
> >     python3 setup.py install --user
> > 
> > [1]: https://github.com/Rahix/tbot/releases/tag/v0.8.1
> > [2]: https://github.com/Rahix/tbot/releases/download/v0.8.1/tbot.pdf
> > 
> 
> Setup looks broken after 0.7.1 - this is the last version I can install
> without issue on Ubuntu 19.10. After installing 0.8.0 or 0.8.1, I get
> running tbot:

I cannot reproduce this error on my system ... I suspect it is caused by
a change in Python from version 3.6 to 3.7.  Can you check which version
you are using?

Also, with 0.8.1, if you get an error, it will most likely be a slightly
different one (the line causing the error here has changed since).  Can
you send me the full traceback as well, please?

> tbot -h
> Traceback (most recent call last):
>   File "/home/stefano/.local/bin/tbot", line 8, in <module>
>     from tbot.main import main
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/__init__.py",
> line 20, in <module>
>     from . import selectable
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/selectable.py",
> line 18, in <module>
>     from tbot.machine import connector, linux, board
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/__init__.py",
> line 1, in <module>
>     from . import board
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/board/__init__.py",
> line 4, in <module>
>     from .uboot import UBootShell, UBootAutobootIntercept
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/board/uboot.py",
> line 24, in <module>
>     from ..linux import special
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/__init__.py",
> line 33, in <module>
>     from . import build
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/__init__.py",
> line 1, in <module>
>     from .machine import BuildMachine
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/machine.py",
> line 20, in <module>
>     from . import toolchain
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/toolchain.py",
> line 22, in <module>
>     class Toolchain(abc.ABC):
>   File
> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/toolchain.py",
> line 26, in Toolchain
>     def enable(self, host: linux.LinuxMachine) -> None:
> AttributeError: module 'tbot.machine.linux' has no attribute 'LinuxMachine'
> 
> with tbot 0.7.1 no issues
> 
> Regards,
> Stefano
 
-- 
Harald



More information about the tbot mailing list