ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Explicitly declare dependencies

Open cchaudier opened this issue 3 years ago • 2 comments

As a follow-up to the issue #101 can you set the versions of the dependencies? First of all borgbackup and borgmatic.

This is to prevent unexpected changes in cli. This is a good practice promoted by the 12 factors.

I think you can do this here whit this code :

borg_python_packages:
  - borgbackup==1.2.2
  - borgmatic==1.7.1

cchaudier avatar Sep 06 '22 12:09 cchaudier

Unfortunately not because some OS use old Python versions and will pull in an older version.

m3nu avatar Sep 06 '22 17:09 m3nu

I think this can be closed as #107 is a workaround

Sebclem avatar Nov 24 '22 08:11 Sebclem