henrysher / duplicity

mirror of duplicity: https://code.launchpad.net/duplicity
81 stars 13 forks source link

Include missing boto package #31

Open tashrifbillah opened 2 years ago

tashrifbillah commented 2 years ago

boto seems to be an essential package for duplicity that is reported missing once I try duply data1 backup for the TARGET= "s3+http://my-bucket":

$ time duply data1 backup

Start duply v2.3.1, time is 2022-02-16 17:15:35.
Using profile 'path/to/.duply/data1'.

...
...

--- Start running command PRE at 17:15:35.837 ---
Skipping n/a script 'path/to/.duply/data1/pre'.
--- Finished state OK at 17:15:35.884 - Runtime 00:00:00.046 ---

--- Start running command BKP at 17:15:35.978 ---
BackendException: Could not initialize backend: No module named 'boto'
17:15:36.824 Task 'BKP' failed with exit code '23'.
--- Finished state FAILED 'code 23' at 17:15:36.824 - Runtime 00:00:00.845 ---

...
...

A simple pip install boto fixes the error for me. Then why don't we include it in duplicity's setup.py?


This change is Reviewable