Actions
Bug #5766
closed[SDK] setup.py install always gets latest arvados-python-sdk from PyPi, even when already installed
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
04/27/2015
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
-
Description
run-tests.sh
installs pip packages this way:
cd "$WORKSPACE/$1" \ && python setup.py sdist rotate --keep=1 --match .tar.gz \ && pip install -q --upgrade dist/*.tar.gz
The problem is that --upgrade
recursively upgrades all dependencies, including arvados-python-client which means that if the version of arvados-python-client in PyPi has a newer timestamp than the timestamp of the last commit on the current git branch, tests for nodemanager and fuse will run with the newest arvados-python-client in PyPi rather than the intended version from the current git branch.
--upgrade
was added in commit ed9e8d8616e919f81703134a7d5cbac62f151877
Actions