Skip to content

Commit 2948567

Browse files
authored
build: Python pip no longer has a --no-user option
1 parent b74b9dd commit 2948567

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,8 +1518,8 @@ cpplint: lint-cpp
15181518
# Try with '--system' if it fails without; the system may have set '--user'
15191519
lint-py-build:
15201520
$(info Pip installing flake8 linter on $(shell $(PYTHON) --version)...)
1521-
$(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages flake8 || \
1522-
$(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages flake8
1521+
$(PYTHON) -m pip install --upgrade -t tools/pip/site-packages flake8 || \
1522+
$(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages flake8
15231523

15241524
.PHONY: lint-py
15251525
ifneq ("","$(wildcard tools/pip/site-packages/flake8)")
@@ -1538,8 +1538,8 @@ endif
15381538
# Try with '--system' if it fails without; the system may have set '--user'
15391539
lint-yaml-build:
15401540
$(info Pip installing yamllint on $(shell $(PYTHON) --version)...)
1541-
$(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages yamllint || \
1542-
$(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages yamllint
1541+
$(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
1542+
$(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
15431543

15441544
.PHONY: lint-yaml
15451545
# Lints the YAML files with yamllint.

0 commit comments

Comments
 (0)