Skip to content

Commit 9a80e95

Browse files
committed
pipfile: pass --clear flag, and do it separetely to not be ignored
Maybe --clear flag works as part of `pipenv install` now, but code inspection indicates to me it still don't. This resolves the issue with the pipenv versions we currently use in tests at least.
1 parent 442951d commit 9a80e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repo2docker/buildpacks/pipfile/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ def get_assemble_scripts(self):
154154
"${NB_USER}",
155155
"""(cd {working_directory} && \\
156156
PATH="${{KERNEL_PYTHON_PREFIX}}/bin:$PATH" \\
157-
pipenv install {install_option} --system --dev \\
157+
pipenv install {install_option} --system --dev && \\
158+
pipenv --clear \\
158159
)""".format(
159160
working_directory=working_directory,
160161
install_option="--ignore-pipfile"

0 commit comments

Comments
 (0)