From 99b056a18648546e9ef2d35c2ae020b7b5ee4d3f Mon Sep 17 00:00:00 2001 From: Benjamin Jorand Date: Mon, 7 Nov 2022 10:50:45 +0100 Subject: [PATCH] fix PIPENV_MAX_DEPTH environment variable --- pipenv/environments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/environments.py b/pipenv/environments.py index f0c4667e..fcfd2b71 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -184,7 +184,7 @@ class Setting: """ # NOTE: +1 because of a temporary bug in Pipenv. - self.PIPENV_MAX_DEPTH = int(get_from_env("PIPENV_MAX_DEPTH", default=3)) + 1 + self.PIPENV_MAX_DEPTH = int(get_from_env("MAX_DEPTH", default=3)) + 1 """Maximum number of directories to recursively search for a Pipfile. Default is 3. See also ``PIPENV_NO_INHERIT``.