The backups are currently failing to back up embargoed Dandisets because the copy of backups2datalad in the Conda environment was not upgraded after https://github.com/dandi/backups2datalad/pull/12 was merged. This is because, when installing from a VCS URL, pip install (with or without --upgrade) will only update an already-installed package if its version number has increased (regardless of whether any changes have been made to the code), yet backups2datalad's version is constantly at 0.0.0 due to our lack of a need for versioning.
This PR solves the problem by uninstalling backups2datalad before running pip install, so that the latter will have no choice but to install the latest revision.
The backups are currently failing to back up embargoed Dandisets because the copy of
backups2datalad
in the Conda environment was not upgraded after https://github.com/dandi/backups2datalad/pull/12 was merged. This is because, when installing from a VCS URL,pip install
(with or without--upgrade
) will only update an already-installed package if its version number has increased (regardless of whether any changes have been made to the code), yetbackups2datalad
's version is constantly at 0.0.0 due to our lack of a need for versioning.This PR solves the problem by uninstalling
backups2datalad
before runningpip install
, so that the latter will have no choice but to install the latest revision.