Git Product home page Git Product logo

Comments (5)

Emantor avatar Emantor commented on June 27, 2024

An update to attrs breaks labgrid, see #165, we plan to do a release soon, but not before next year. For now please use the git master as described in the development docs.

from labgrid.

Emantor avatar Emantor commented on June 27, 2024

If the dev installation did not fix the problem please reopen this issue. I'll close this for now since a stable release is already tracked in #166.

from labgrid.

EugenWiens avatar EugenWiens commented on June 27, 2024

I have seen this bug to day with the 'master'
(labgrid-venv) wiens@es-lxwiens2:~/proj/BspTests/labgrid$ labgrid-client --help Traceback (most recent call last): File "/home/wiens/proj/BspTests/labgrid-venv/bin/labgrid-client", line 6, in <module> from labgrid.remote.client import main File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/__init__.py", line 1, in <module> from .target import Target File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/target.py", line 6, in <module> from .driver import Driver File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/driver/__init__.py", line 3, in <module> from .serialdriver import SerialDriver File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/driver/serialdriver.py", line 10, in <module> from ..resource import SerialPort, NetworkSerialPort File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/resource/__init__.py", line 7, in <module> from .udev import USBSerialPort File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/labgrid/resource/udev.py", line 148, in <module> class USBSerialPort(SerialPort, USBResource): File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 702, in attrs return wrap(maybe_cls) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 671, in wrap builder = _ClassBuilder(cls, these, slots, frozen, auto_attribs) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 371, in __init__ attrs, super_attrs = _transform_attrs(cls, these, auto_attribs) File "/home/wiens/proj/BspTests/labgrid-venv/lib/python3.5/site-packages/attr/_make.py", line 337, in _transform_attrs .format(a=a) ValueError: No mandatory attributes allowed after an attribute with a default value or factory. Attribute in question: Attribute(name='match', default=NOTHING, validator=<instance_of validator for type <class 'dict'>>, repr=True, cmp=True, hash=False, init=True, metadata=mappingproxy({}), type=None, converter=None)

from labgrid.

Emantor avatar Emantor commented on June 27, 2024

Yes, the fix for attrs 17.4.0 is included in PR #189 as ecbdf6c . Unfortunately the attrs library had to include a breaking change in their release.

from labgrid.

Emantor avatar Emantor commented on June 27, 2024

PR #189 got merged with additional steps to reduce future problems with upstream libraries. We also updated the installation instructions, take a look at the new Installation section.

from labgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.