Remove the reference to pip-tools

This commit is contained in:
Frost Ming
2021-08-06 09:18:36 +08:00
parent 6647954202
commit c5cc0af9b8
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ def clear_option(f):
state.clear = value
return value
return option("--clear", is_flag=True, callback=callback, type=click_types.BOOL,
help="Clears caches (pipenv, pip, and pip-tools).",
help="Clears caches (pipenv, pip).",
expose_value=False, show_envvar=True)(f)
+1 -3
View File
@@ -363,13 +363,11 @@ class ResolutionFailure(PipenvException):
extra = (
"{}: Your dependencies could not be resolved. You likely have a "
"mismatch in your sub-dependencies.\n "
"First try clearing your dependency cache with {}, then try the original command again.\n "
"Alternatively, you can use {} to bypass this mechanism, then run "
"You can use {} to bypass this mechanism, then run "
"{} to inspect the situation.\n "
"Hint: try {} if it is a pre-release dependency."
"".format(
crayons.red("Warning", bold=True),
crayons.yellow("$ pipenv lock --clear"),
crayons.yellow("$ pipenv install --skip-lock"),
crayons.yellow("$ pipenv graph"),
crayons.yellow("$ pipenv lock --pre"),