Skip to content

Commit edeff21

Browse files
committed
Reduce Python 3 detection
With AC-195, macOS environments no longer need to search for other Python 3 deployments that might have `virtualenv`. References: * [AC-195] Use Python venv instead of virtualenv to build virtual environments for CI Signed-off-by: Alex Nelson <[email protected]>
1 parent b393a37 commit edeff21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
SHELL := /bin/bash
1515

16-
PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
16+
PYTHON3 ?= python3
1717

1818
case_version := $(shell $(PYTHON3) case_utils/ontology/version_info.py)
1919
ifeq ($(case_version),)

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SHELL := /bin/bash
1515

1616
top_srcdir := $(shell cd .. ; pwd)
1717

18-
PYTHON3 ?= $(shell which python3.9 2>/dev/null || which python3.8 2>/dev/null || which python3.7 2>/dev/null || which python3.6 2>/dev/null || which python3)
18+
PYTHON3 ?= python3
1919

2020
all: \
2121
all-case_utils

0 commit comments

Comments
 (0)