Project

General

Profile

Actions

Bug #5766

closed

[SDK] setup.py install always gets latest arvados-python-sdk from PyPi, even when already installed

Added by Peter Amstutz about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
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


Subtasks 1 (0 open1 closed)

Task #5786: Review 5766-pip-sdk-install in arvados-devResolvedPeter Amstutz04/27/2015Actions
Actions

Also available in: Atom PDF