Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 666df20

Browse filesBrowse files
cclaussRafaelGSS
authored andcommitted
build: remove Python pip --no-user option
Python pip no longer has a `--no-user` option. Refs: nodejs/build#3273 Refs: https://github.com/pypa/pip/pull/5116/files PR-URL: #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>
1 parent 6b87f29 commit 666df20
Copy full SHA for 666df20

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎Makefile‎

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

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

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.