summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2023-04-02 07:17:17 +0200
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2023-04-02 19:58:57 +0200
commitcce5a8c9ae8442eeb5be743c93ad45f87ababaf5 (patch)
treea8007e7dc5c046dc947231567c4e121c05f9991d /Makefile
parent6d065863c268f3dab4a17fcda8be219eb2e45764 (diff)
downloadnode-new-cce5a8c9ae8442eeb5be743c93ad45f87ababaf5.tar.gz
build: remove Python pip `--no-user` option
Python pip no longer has a `--no-user` option. Refs: https://github.com/nodejs/build/issues/3273 Refs: https://github.com/pypa/pip/pull/5116/files PR-URL: https://github.com/nodejs/node/pull/47372 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 12d808102e..d882a1b007 100644
--- a/Makefile
+++ b/Makefile
@@ -1493,8 +1493,8 @@ cpplint: lint-cpp
# Try with '--system' if it fails without; the system may have set '--user'
lint-py-build:
$(info Pip installing flake8 linter on $(shell $(PYTHON) --version)...)
- $(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages flake8 || \
- $(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages flake8
+ $(PYTHON) -m pip install --upgrade -t tools/pip/site-packages flake8 || \
+ $(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages flake8
.PHONY: lint-py
ifneq ("","$(wildcard tools/pip/site-packages/flake8)")
@@ -1513,8 +1513,8 @@ endif
# Try with '--system' if it fails without; the system may have set '--user'
lint-yaml-build:
$(info Pip installing yamllint on $(shell $(PYTHON) --version)...)
- $(PYTHON) -m pip install --no-user --upgrade -t tools/pip/site-packages yamllint || \
- $(PYTHON) -m pip install --no-user --upgrade --system -t tools/pip/site-packages yamllint
+ $(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
+ $(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
.PHONY: lint-yaml
# Lints the YAML files with yamllint.