[tbot] Release 0.8.1

Stefano Babic sbabic at denx.de
Mon Mar 9 20:47:51 CET 2020


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:

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

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the tbot mailing list