Skip to content

Commit 94d533c

Browse files
committed
Cleanup
1 parent 7658924 commit 94d533c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

deps.mk

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,6 @@ endif
113113
## Python
114114

115115
ifeq (true,$(CI))
116-
# PEP 668 really messes with things here.
117-
ifeq (root,$(USER))
118-
break-system-packages := --break-system-packages
119-
else
120-
ifeq (0,$(shell id -u))
121-
break-system-packages := --break-system-packages
122-
endif
123-
endif
124116
# Override VENVDIR so we can use caching in CI.
125117
VENVDIR = $(realpath .)/.venv
126118
endif
@@ -145,7 +137,7 @@ ifeq (true,$(CI))
145137
# Under CI, install from the local requirements.txt, but install globally (no venv).
146138
pip ?= pip3
147139
$(LOCAL_VENV):
148-
$(pip) install $(no-cache-dir) $(break-system-packages) $(foreach path,$(REQUIREMENTS_TXT),-r $(path))
140+
$(pip) install $(no-cache-dir) $(foreach path,$(REQUIREMENTS_TXT),-r $(path))
149141
@touch $@
150142

151143
# No clean-deps target in CI..

0 commit comments

Comments
 (0)