question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make attrs>=0.17 an installation requirement

See original GitHub issue

EDIT: There’s a lot stuff here, but in the end, upgrading attrs to 17.2.0 fixed the issue. Could you make attrs>=17 as an installation requirement?

Hi, any idea why I get a large number of test failures and errors:

FAILED (skips=21, failures=6, errors=74, successes=248)

Full log here: https://gist.github.com/jluttine/84832bacf93b385bf37721c320788203

Errors like:

  • exceptions.AttributeError: 'Boss' object has no attribute '_RC'
  • exceptions.AttributeError: 'CodeInputter' object has no attribute '_committed_nameplate'
  • and some other similar AttributeErrors

Any ideas what could be wrong here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
warnercommented, Sep 3, 2017

Ah, good catch, it was obviously wrong for us to be using attrs without depending upon it. And it looks like 16.3.0 is the first version that provided the __attrs_post_init__() feature that we use, so I’ll add a attrs >= 16.3.0 to the setup.py. Thanks!

0reactions
jluttinecommented, Sep 3, 2017

Upgrading attrs to 17.2.0 fixed the issue. Could you make >=17 as an installation requirement?

Read more comments on GitHub >

github_iconTop Results From Across the Web

API Reference — attrs 17.3.0 documentation
Core¶ · This is achieved by installing a custom __setattr__ method on your class so you can't implement an own one. · True...
Read more >
How to install from requirements.txt - python - Stack Overflow
First, freeze all of your pip packages in the requirements.txt file using the command pip freeze > requirements.txt. This should create the ...
Read more >
pipenv fails to install all my packages, and then ... - GitHub
An error occurred while installing attrs==18.1.0! ... installed: 2.18.4] - certifi [required: >=2017.4.17, installed: 2018.4.16] - chardet ...
Read more >
attrs - PyPI
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object...
Read more >
How to download Python dependencies - ActiveState
Click to get a detailed step-by-step guide to downloading Python ... >=2017.4.17, installed: 2020.4.5.1] - chardet [required: >=3.0.2,<4, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found