Project

General

Profile

Actions

Feature #15888

closed

Update run-tests.sh to use python 3

Added by Eric Biagiotti over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

run-tests.sh uses python in other places besides running the sdk/python tests (e.g. starting services, etc). Update these instances to use python 3. Specifically, change VENVDIR/bin/activate to VENV3DIR/bin/activate.

If py2 isn't installed, run-tests.sh should succeed (by skipping the py2 tests). If py2 is installed, run-tests.sh should not skip the py2 tests.

sdk/python/tests/run_test_server.py is being called with `python` from sdk/go/arvadostest/run_servers.go. Does run_test_server.py even support python 3? We should probably replace it with arvados-boot instead of spending more time on it.


Subtasks 1 (1 open0 closed)

Task #16768: ReviewNewPeter AmstutzActions

Related issues

Related to Arvados Epics - Idea #14532: [Epic] Port to Python 3 to for Python 2 sunset in December 2019Resolved01/01/202009/16/2020Actions
Related to Arvados - Bug #16795: [a-d-c] flaky testResolvedTom Clegg09/02/2020Actions
Related to Arvados - Bug #17985: [a-c-r] add cwltool to the list of binstubs in our packagesResolvedWard VandewegeActions
Actions

Also available in: Atom PDF