Page MenuHomeSoftware Heritage

retry: Add support for tenacity < 5.0
ClosedPublic

Authored by anlambert on Feb 20 2020, 1:26 PM.

Details

Summary

This fixes swh-storage debian package build on buster as python3-tenacity
version is 4.12.

Other solution is to backport python3-tenacity from sid.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz added a subscriber: vlorentz.

That explains the inconsistent behavior I noticed in tenacity... thanks!

swh/storage/retry.py
33

move this comment in the except block

This revision is now accepted and ready to land.Feb 20 2020, 1:37 PM

Update: Move comment in except block

This revision was automatically updated to reflect the committed changes.