Skip to content

Commit

Permalink
Use python3 for system tests
Browse files Browse the repository at this point in the history
Most modern distribution use python3 for python (3). Default to that to
make it a bit simpler to run systems tests on Debian

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
  • Loading branch information
sjoerdsimons authored and randombenj committed Jun 20, 2022
1 parent 29deae6 commit a687df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ else
endif
VERSION=$(shell echo $(TAG) | sed 's@^v@@' | sed 's@-@+@g')
PACKAGES=context database deb files gpg http query swift s3 utils
PYTHON?=python
PYTHON?=python3
TESTS?=
BINPATH?=$(GOPATH)/bin
RUN_LONG_TESTS?=yes
Expand Down Expand Up @@ -36,7 +36,7 @@ install:
system/env: system/requirements.txt
ifeq ($(RUN_LONG_TESTS), yes)
rm -rf system/env
python -m venv system/env
$(PYTHON) -m venv system/env
system/env/bin/pip install -r system/requirements.txt
endif

Expand Down

0 comments on commit a687df2

Please sign in to comment.