[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3989: The `tenacity` dependency costs a lot and brings a little

Tahoe-LAFS trac at tahoe-lafs.org
Fri Mar 17 19:29:15 UTC 2023


#3989: The `tenacity` dependency costs a lot and brings a little
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 We use `tenacity` in just one place, `test_iputil.py`, for a function that
 we should probably mostly throw away anyway.

 The functionality we use from tenacity can be re-implemented in 19 lines
 (not counting docs / whitespace).

 Tenacity is not very big but it has packaging complications on PyPy and
 it's easier to re-implement its functionality than fix the packaging
 issues.

 Let's drop the dependency.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3989>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list