From 5782ce06bb4c3016717d1d7f9ba26eda91d74786 Mon Sep 17 00:00:00 2001 From: Doc Developer <39494509+docdeveloper@users.noreply.github.com> Date: Thu, 23 May 2019 11:38:34 +0200 Subject: [PATCH] Adds info on env variables Adds info about using quotation marks if credentials contain special characters --- docs/advanced.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/advanced.rst b/docs/advanced.rst index 3ac323e659..f7f4ea506d 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -71,6 +71,11 @@ Luckily - pipenv will hash your Pipfile *before* expanding environment variables (and, helpfully, will substitute the environment variables again when you install from the lock file - so no need to commit any secrets! Woo!) +If your credentials contain a special character, surround the references to the environment variables with quotation marks. For example, if your password contain a double quotation mark, surround the password variable with single quotation marks. Otherwise, you may get a `ValueError, "No closing quotation"` error while installing dependencies. + + [[source]] + url = "https://$USERNAME:'${PASSWORD}'@mypypi.example.com/simple" + ☤ Specifying Basically Anything -------------------------------