Skip to content

Commit d694ded

Browse files
Fix python installation
Should use UV_PYTHON instead; this is automatically done by the setup-uv action.
1 parent 624312b commit d694ded

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ MAKEFLAGS += --no-print-directory
99
BIN := .tmp/bin
1010
export PATH := $(BIN):$(PATH)
1111
export GOBIN := $(abspath $(BIN))
12-
# Set to use a different Python interpreter. For example, `PYTHON=python make test`.
13-
PYTHON ?= python3
1412
export PYTHONPATH ?= gen
1513
CONFORMANCE_ARGS ?= --strict_message --expected_failures=tests/conformance/nonconforming.yaml --timeout 10s
1614
ADD_LICENSE_HEADER := $(BIN)/license-header \
@@ -57,7 +55,7 @@ test: generate install gettestdata ## Run unit tests
5755

5856
.PHONY: conformance
5957
conformance: $(BIN)/protovalidate-conformance generate install ## Run conformance tests
60-
protovalidate-conformance $(CONFORMANCE_ARGS) uv -- run --python $(PYTHON) python3 -m tests.conformance.runner
58+
protovalidate-conformance $(CONFORMANCE_ARGS) uv -- run python3 -m tests.conformance.runner
6159

6260
.PHONY: lint
6361
lint: install ## Lint code
@@ -68,7 +66,7 @@ lint: install ## Lint code
6866

6967
.PHONY: install
7068
install: ## Install dependencies
71-
uv sync --python $(PYTHON) --dev
69+
uv sync --dev
7270

7371
.PHONY: checkgenerate
7472
checkgenerate: generate

0 commit comments

Comments
 (0)