#4102 assigned defect

Tahoe runtime traceback when attrs >= 24.1.0

Reported by: blaisep Owned by: blaisep
Priority: critical Milestone: Performance and Benchmarking
Component: packaging Version: n/a
Keywords: Cc:
Launchpad Bug:

Description (last modified by blaisep)

Tahoe fails with same traceback on OS X and Arch Linux Running tahoe --version results in this traceback. (attached)

https://paste.ofcode.org/YhrCQ5hstivHiTUVSn8zWb

It seems to have a problem with one of the dependencies: attrs.provides

Attachments (1)

traceback.txt (2.5 KB) - added by blaisep at 2024-08-22T21:00:27Z.
traceback

Download all attachments as: .zip

Change History (8)

Changed at 2024-08-22T21:00:27Z by blaisep

traceback

comment:1 Changed at 2024-08-23T07:03:50Z by blaisep

It's likely that a deprecation inside attrs is the problem. ( https://github.com/python-attrs/attrs/pull/1265 ) to avoid this, we should pick one of these options:

1- attrs < 24.1.0

2- use this code to workaround the deprecation: https://gist.github.com/hynek/9eaaaeb659808f3519870dfa16d2b6b2

3- - update our internal usage of attrs

comment:2 Changed at 2024-08-23T07:09:40Z by blaisep

  • Owner changed from daira to blaisep

comment:3 Changed at 2024-08-23T07:28:00Z by blaisep

  • Description modified (diff)
  • Summary changed from Tahoe fails with same traceback on OS X and Arch Linux to Tahoe runtime traceback when attrs >= 24.1.0

comment:4 Changed at 2024-08-23T07:30:20Z by blaisep

OK, so @ccx believes the best solution is option two, and using the more robust implementation like: https://github.com/twisted/klein/commit/bfd2592ded170a5946c7e34ba36b7d3290f77231

comment:5 Changed at 2024-08-23T16:02:21Z by meejah

We already have the attrs code embedded in Tahoe -- this is either that we missed "eliotutil" in that replacement, or maybe Eliot itself also still uses the deprecated APIs?

comment:6 Changed at 2024-08-26T23:54:14Z by meejah

Cannot repeat on fresh install with Debian and Python 3.11

comment:7 Changed at 2024-09-12T23:01:48Z by blaisep

  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.